Commit 21fc1479 authored by Hans Wennborg's avatar Hans Wennborg Committed by Commit Bot

Include-what-you-use related to logging.h (various third_party dirs)

Add direct includes for things provided transitively by logging.h
(or by other headers including logging.h).

This is in preparation for cleaning up unnecessary includes of
logging.h in header files (so if something depends on logging.h,
it needs include it explicitly), and for when logging.h no longer
includes check.h, check_op.h, and notreached.h.

Bug: 1031540
Change-Id: Ib0673654853166ba85d84113357d1dbf40ef466f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2252147
Auto-Submit: Hans Wennborg <hans@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#780423}
parent 261faa00
......@@ -19,3 +19,4 @@ but was merged into the Chromium repository at r342.
2015-09-08: merging bug fixes for client library version 20150819
2015-12-03: merging bug fixes for client library version 20150819
2019-11-08: crbug.com/1007840
2020-06-19: include base/check.h
......@@ -5,6 +5,7 @@
#ifndef GOOGLE_CACHEINVALIDATION_DEPS_LOGGING_H_
#define GOOGLE_CACHEINVALIDATION_DEPS_LOGGING_H_
#include "base/check.h"
#include "base/logging.h"
namespace invalidation {
......
......@@ -19,6 +19,7 @@ Local Modifications:
- Use Chrome's version of JSON reader in chromium/json.cc.
- Use Chrome's version of loose string comparison in chromium/string_compare.cc.
- fuzz/: Added fuzz targets.
- Use base/check_op.h in chromium/input_suggester.cc.
Note:
......
......@@ -8,6 +8,7 @@
#include <set>
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/macros.h"
#include "third_party/libaddressinput/chromium/trie.h"
......
include_rules = [
"+base/check.h",
"+base/check_op.h",
"+base/logging.h",
"+base/macros.h",
"+base/notreached.h",
"+base/stl_util.h",
"+net/base/host_port_pair.h",
]
......
......@@ -15,6 +15,7 @@
#include <algorithm>
#include <string>
#include "base/check.h"
#include "base/logging.h"
#include "third_party/libjingle_xmpp/xmpp/constants.h"
......
......@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <ostream>
#include "base/check_op.h"
#include "base/compiler_specific.h"
#include "base/logging.h"
......
......@@ -8,6 +8,7 @@
#include "base/command_line.h"
#include "base/files/file.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/no_destructor.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
......
......@@ -16,6 +16,7 @@
#include "base/atomicops.h"
#include "base/logging.h"
#include "base/notreached.h"
#include "base/strings/string_util.h"
#include "base/threading/platform_thread.h"
#include "third_party/webrtc/rtc_base/string_utils.h"
......
......@@ -10,6 +10,7 @@
#include <algorithm>
#include "base/logging.h"
#include "base/notreached.h"
#include "base/strings/utf_string_conversions.h"
#if defined(USE_SYSTEM_MINIZIP)
......
......@@ -16,6 +16,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/macros.h"
#include "base/path_service.h"
#include "base/strings/string_util.h"
......
......@@ -5,6 +5,7 @@
#include "third_party/zlib/google/zip_writer.h"
#include "base/files/file.h"
#include "base/logging.h"
#include "base/strings/string_util.h"
#include "third_party/zlib/google/zip_internal.h"
......
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