Commit d2ad49df authored by Lei Zhang's avatar Lei Zhang Committed by Commit Bot

Do IWYU in base/allocator/partition_allocator/.

- When DCHECK is on, memset() gets called in partition_page.h.
- Files that call (D)CHECK() should include base/logging.h.

Change-Id: Iacb0fdea0fba809fcc3f1fd421ba9d0a2427bcbd
Reviewed-on: https://chromium-review.googlesource.com/c/1282384Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#599895}
parent f211549d
......@@ -7,6 +7,7 @@
#include "base/allocator/partition_allocator/page_allocator.h"
#include "base/allocator/partition_allocator/spin_lock.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "base/rand_util.h"
#include "build/build_config.h"
......
......@@ -8,6 +8,7 @@
#include <errno.h>
#include <sys/mman.h>
#include "base/logging.h"
#include "build/build_config.h"
#if defined(OS_MACOSX)
......
......@@ -6,6 +6,7 @@
#define BASE_ALLOCATOR_PARTITION_ALLOCATOR_PAGE_ALLOCATOR_INTERNALS_WIN_H_
#include "base/allocator/partition_allocator/page_allocator_internal.h"
#include "base/logging.h"
namespace base {
......
......@@ -14,6 +14,7 @@
#include "base/allocator/partition_allocator/partition_page.h"
#include "base/allocator/partition_allocator/spin_lock.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
namespace base {
......
......@@ -13,6 +13,7 @@
#include "base/allocator/partition_allocator/address_space_randomization.h"
#include "base/allocator/partition_allocator/partition_alloc.h"
#include "base/logging.h"
#include "base/rand_util.h"
#include "base/stl_util.h"
#include "base/sys_info.h"
......
......@@ -11,6 +11,7 @@
#include "base/allocator/partition_allocator/partition_oom.h"
#include "base/allocator/partition_allocator/partition_page.h"
#include "base/allocator/partition_allocator/partition_root_base.h"
#include "base/logging.h"
#include "build/build_config.h"
namespace base {
......
......@@ -11,6 +11,7 @@
#include "base/allocator/partition_allocator/partition_alloc_constants.h"
#include "base/base_export.h"
#include "base/compiler_specific.h"
#include "base/logging.h"
namespace base {
namespace internal {
......
......@@ -7,6 +7,7 @@
#include "base/allocator/partition_allocator/partition_bucket.h"
#include "base/allocator/partition_allocator/partition_page.h"
#include "base/logging.h"
namespace base {
namespace internal {
......
......@@ -6,6 +6,7 @@
#include "base/allocator/partition_allocator/partition_direct_map_extent.h"
#include "base/allocator/partition_allocator/partition_root_base.h"
#include "base/logging.h"
namespace base {
namespace internal {
......
......@@ -5,10 +5,13 @@
#ifndef BASE_ALLOCATOR_PARTITION_ALLOCATOR_PARTITION_PAGE_H_
#define BASE_ALLOCATOR_PARTITION_ALLOCATOR_PARTITION_PAGE_H_
#include <string.h>
#include "base/allocator/partition_allocator/partition_alloc_constants.h"
#include "base/allocator/partition_allocator/partition_bucket.h"
#include "base/allocator/partition_allocator/partition_cookie.h"
#include "base/allocator/partition_allocator/partition_freelist_entry.h"
#include "base/logging.h"
namespace base {
namespace internal {
......
......@@ -10,6 +10,7 @@
#include "base/allocator/partition_allocator/partition_bucket.h"
#include "base/allocator/partition_allocator/partition_direct_map_extent.h"
#include "base/allocator/partition_allocator/partition_page.h"
#include "base/logging.h"
#include "build/build_config.h"
namespace base {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment