commit | 353b7355f5443d78267bccd9db90650eef568ed9 | [log] [tgz] |
---|---|---|
author | Hong Xu <[email protected]> | Fri Oct 27 19:43:50 2023 |
committer | Chromium LUCI CQ <[email protected]> | Fri Oct 27 19:43:50 2023 |
tree | 841975ec4eb9ad4a55e16baa41dacb37f1b4ecbe | |
parent | c6f3651cd0aecad8fc2e7bc29cbbaee75e19fdab [diff] [blame] |
Remove dependency on statusor.h for including base/logging.h components/reporting/util/statusor.h is expected to become minimal soon. It was discovered that some source files (indirectly) rely on statusor.h to indirectly include base/logging.h. This commit removes base/logging.h from statusor.h and add the inclusion to various source files. Bug: b:300464285 Change-Id: I1f674c47f123af25d5822d6258a979454409e111 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4982125 Reviewed-by: Kyle Williams <[email protected]> Reviewed-by: Leonid Baraz <[email protected]> Reviewed-by: Pavol Marko <[email protected]> Commit-Queue: Hong Xu <[email protected]> Cr-Commit-Position: refs/heads/main@{#1216317}
diff --git a/components/reporting/client/report_queue_impl.cc b/components/reporting/client/report_queue_impl.cc index fb92ba8..74dfa0a 100644 --- a/components/reporting/client/report_queue_impl.cc +++ b/components/reporting/client/report_queue_impl.cc
@@ -12,6 +12,7 @@ #include "base/check.h" #include "base/functional/bind.h" #include "base/functional/callback.h" +#include "base/logging.h" #include "base/memory/ptr_util.h" #include "base/memory/scoped_refptr.h" #include "base/metrics/histogram_functions.h"