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

Remove/replace unnecessary includes of logging.h (device/)

If the file just needs the CHECK/CHECK_OP/NOTREACHED
macros, use the appropriate header for that instead.
Or if logging.h is not needed at all, remove it.

This is both a nice cleanup (logging.h is a big header,
and including it unnecessarily has compile-time costs),
and part of the final step towards making logging.h no
longer include check.h and the others.

Bug: 1031540
Change-Id: I63140c7aa4915f7c24085ec7a97b2e7320e87bf3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2254778
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Auto-Submit: Hans Wennborg <hans@chromium.org>
Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#780409}
parent dd656cc0
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include <vector> #include <vector>
#include "base/logging.h"
#include "base/macros.h" #include "base/macros.h"
#include "dbus/object_path.h" #include "dbus/object_path.h"
#include "device/bluetooth/bluetooth_export.h" #include "device/bluetooth/bluetooth_export.h"
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include <vector> #include <vector>
#include "base/component_export.h" #include "base/component_export.h"
#include "base/logging.h"
#include "base/macros.h" #include "base/macros.h"
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "base/strings/string_piece.h" #include "base/strings/string_piece.h"
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include "base/check.h" #include "base/check.h"
#include "base/component_export.h" #include "base/component_export.h"
#include "base/logging.h"
#include "base/macros.h" #include "base/macros.h"
#include "device/fido/fido_transport_protocol.h" #include "device/fido/fido_transport_protocol.h"
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
#include "device/fido/fido_discovery_factory.h" #include "device/fido/fido_discovery_factory.h"
#include "base/logging.h"
#include "base/notreached.h" #include "base/notreached.h"
#include "device/bluetooth/bluetooth_adapter_factory.h" #include "device/bluetooth/bluetooth_adapter_factory.h"
#include "device/fido/cable/fido_cable_discovery.h" #include "device/fido/cable/fido_cable_discovery.h"
......
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
#include <vector> #include <vector>
#include "base/callback.h" #include "base/callback.h"
#include "base/check.h"
#include "base/component_export.h" #include "base/component_export.h"
#include "base/containers/flat_set.h" #include "base/containers/flat_set.h"
#include "base/logging.h"
#include "base/macros.h" #include "base/macros.h"
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "base/optional.h" #include "base/optional.h"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#ifndef DEVICE_VR_TEST_TEST_HOOK_H_ #ifndef DEVICE_VR_TEST_TEST_HOOK_H_
#define DEVICE_VR_TEST_TEST_HOOK_H_ #define DEVICE_VR_TEST_TEST_HOOK_H_
#include "base/logging.h" #include "base/check.h"
#include "device/vr/public/mojom/browser_test_interfaces.mojom.h" #include "device/vr/public/mojom/browser_test_interfaces.mojom.h"
#include "ui/gfx/transform.h" #include "ui/gfx/transform.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