Commit 25118774 authored by Hans Wennborg's avatar Hans Wennborg Committed by Commit Bot

logging.h related include-what-you-use (sandbox/)

Fix code that was implicitly depending on logging.h or its
dependencies.

For example, code that uses DISALLOW_COPY_AND_ASSIGN should
include base/macros.h, but it currently happens to work if
it pulls in logging.h directly or through some dependency.

This is part of refactoring the codebase to use
check.h/check_op.h for the CHECK and CHECK_op macro
instead of logging.h.

Bug: 1031540
Change-Id: I34bdf1c886255c953706e98910abdb4204efd2de
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2157068
Commit-Queue: Hans Wennborg <hans@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Auto-Submit: Hans Wennborg <hans@chromium.org>
Reviewed-by: default avatarTom Sepez <tsepez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760527}
parent 14d816f1
......@@ -17,6 +17,7 @@
#include <utility>
#include "base/files/scoped_file.h"
#include "base/logging.h"
#include "base/macros.h"
#include "build/build_config.h"
#include "sandbox/linux/bpf_dsl/bpf_dsl_impl.h"
......
......@@ -22,6 +22,7 @@
#include "base/compiler_specific.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "base/pickle.h"
#include "base/posix/eintr_wrapper.h"
#include "base/posix/global_descriptors.h"
......
......@@ -10,6 +10,7 @@
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/logging.h"
#include "base/path_service.h"
#include "base/win/scoped_handle.h"
#include "base/win/windows_version.h"
......
......@@ -6,6 +6,7 @@
#include <windows.h>
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/win/windows_version.h"
......
......@@ -11,6 +11,7 @@
#include <algorithm>
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/scoped_native_library.h"
#include "base/win/windows_version.h"
#include "build/build_config.h"
......
......@@ -4,6 +4,7 @@
#include <windows.h>
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/scoped_native_library.h"
namespace {
......
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