diff options
author | Hans Wennborg <hans@chromium.org> | 2020-04-21 13:14:46 +0000 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2021-07-25 21:03:23 -0700 |
commit | 14fcdf0f966170d2810ceff0cea66826a942e877 (patch) | |
tree | 098d50511d9a60dd9b7907cd726fd480d01186fa | |
parent | 80851dc6517ff0c8e5da3cbfde871ef92cd40961 (diff) | |
download | zucchini-14fcdf0f966170d2810ceff0cea66826a942e877.tar.gz |
logging.h related include-what-you-use (components/)
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: Ibdaee90f6af0e9e2cb304274e6a326ea789613c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2156947
Auto-Submit: Hans Wennborg <hans@chromium.org>
Commit-Queue: Colin Blundell <blundell@chromium.org>
Reviewed-by: Colin Blundell <blundell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760922}
NOKEYCHECK=True
GitOrigin-RevId: 628c19e0b15abdbfb3a3c3b4cd9dcd80886c5fb9
-rw-r--r-- | rel32_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rel32_utils.h b/rel32_utils.h index ff9e712..618ed0d 100644 --- a/rel32_utils.h +++ b/rel32_utils.h @@ -9,6 +9,7 @@ #include <memory> #include <vector> +#include "base/logging.h" #include "base/macros.h" #include "base/optional.h" #include "components/zucchini/address_translator.h" |