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

Remove/replace unnecessary logging.h includes in .cc files (ipc)

CHECK, CHECK_EQ etc., and NOTREACHED/NOTIMPLEMENTED have moved
to the much smaller headers check.h, check_op.h, and notreached.h,
respectively.

This CL updates .cc files to use those headers instead when
possible, with the purpose of saving compile time.

(Split out from https://crrev.com/c/2164525 which also has
notes on how the change was generated.)

Bug: 1031540
Change-Id: I9b41171cc43f427005f9a9d78e5cd61341ebeb40
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2164512
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@{#762412}
parent 6cce7bce
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
#include <utility> #include <utility>
#include "base/logging.h"
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
#include "base/notreached.h"
#include "base/strings/string_number_conversions.h" #include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h" #include "base/strings/stringprintf.h"
#include "ipc/handle_attachment_win.h" #include "ipc/handle_attachment_win.h"
......
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
#include "base/bind.h" #include "base/bind.h"
#include "base/callback.h" #include "base/callback.h"
#include "base/check_op.h"
#include "base/containers/queue.h" #include "base/containers/queue.h"
#include "base/logging.h"
#include "base/macros.h" #include "base/macros.h"
#include "base/memory/ptr_util.h" #include "base/memory/ptr_util.h"
#include "base/no_destructor.h" #include "base/no_destructor.h"
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
#include <stdint.h> #include <stdint.h>
#include "base/atomic_sequence_num.h" #include "base/atomic_sequence_num.h"
#include "base/logging.h" #include "base/check.h"
#include "base/notreached.h"
#include "build/build_config.h" #include "build/build_config.h"
namespace { namespace {
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
#include "ipc/ipc_sync_message_filter.h" #include "ipc/ipc_sync_message_filter.h"
#include "base/bind.h" #include "base/bind.h"
#include "base/check.h"
#include "base/location.h" #include "base/location.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h" #include "base/memory/ptr_util.h"
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
#include "base/synchronization/waitable_event.h" #include "base/synchronization/waitable_event.h"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
// works. This ensures that the macros and templates were defined correctly. // works. This ensures that the macros and templates were defined correctly.
// Doesn't test the IPC channel mechanism. // Doesn't test the IPC channel mechanism.
#include "base/logging.h" #include "base/check_op.h"
#include "ipc/ipc_message.h" #include "ipc/ipc_message.h"
#include "ipc/ipc_message_utils.h" #include "ipc/ipc_message_utils.h"
#include "testing/gtest/include/gtest/gtest.h" #include "testing/gtest/include/gtest/gtest.h"
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
#include "ipc/mach_port_mac.h" #include "ipc/mach_port_mac.h"
#include "base/logging.h"
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
#include "base/notreached.h"
#include "base/strings/string_number_conversions.h" #include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h" #include "base/strings/stringprintf.h"
#include "ipc/mach_port_attachment_mac.h" #include "ipc/mach_port_attachment_mac.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