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

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

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: I939f1d9d0db3e858c539a436021f47dc619222b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2157065
Auto-Submit: Hans Wennborg <hans@chromium.org>
Commit-Queue: Fabrice de Gans-Riberi <fdegans@chromium.org>
Reviewed-by: default avatarFabrice de Gans-Riberi <fdegans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760572}
parent 6f241320
......@@ -11,6 +11,7 @@
#include "base/containers/flat_map.h"
#include "base/fuchsia/default_context.h"
#include "base/macros.h"
#include "base/strings/string_piece.h"
namespace cr_fuchsia {
......
......@@ -6,6 +6,7 @@
#include "base/files/file_util.h"
#include "base/json/json_reader.h"
#include "base/logging.h"
#include "base/no_destructor.h"
namespace cr_fuchsia {
......
......@@ -5,6 +5,7 @@
#include "fuchsia/base/init_logging.h"
#include "base/command_line.h"
#include "base/logging.h"
namespace cr_fuchsia {
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