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

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

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: If603687117132c2449e3088e2bb28566431aed9a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2254149
Commit-Queue: Joe Downing <joedow@chromium.org>
Auto-Submit: Hans Wennborg <hans@chromium.org>
Reviewed-by: default avatarJoe Downing <joedow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#780443}
parent 33059ba3
......@@ -9,7 +9,7 @@
#include <stddef.h>
#include "base/logging.h"
#include "base/check_op.h"
namespace remoting {
......
......@@ -8,7 +8,7 @@
#include <type_traits>
#include <utility>
#include "base/logging.h"
#include "base/check.h"
#include "base/optional.h"
// Result<SuccessType, ErrorType> represents the success or failure of an
......
......@@ -10,7 +10,6 @@
#include <algorithm>
#include "base/logging.h"
#include "base/macros.h"
namespace remoting {
......
......@@ -8,7 +8,6 @@
#include <stddef.h>
#include <stdint.h>
#include "base/logging.h"
namespace remoting {
......
......@@ -7,7 +7,6 @@
#include <stddef.h>
#include "base/logging.h"
#include "base/macros.h"
#include "remoting/proto/control.pb.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h"
......
......@@ -7,7 +7,6 @@
#include "remoting/ios/persistence/keychain.h"
#include "base/logging.h"
#include "base/macros.h"
#include "testing/gmock/include/gmock/gmock.h"
......
......@@ -8,7 +8,6 @@
#include <stddef.h>
#include <ostream>
#include "base/logging.h"
#include "remoting/base/constants.h"
namespace remoting {
......
......@@ -9,7 +9,6 @@
#include <string>
#include "base/logging.h"
#include "base/time/time.h"
#include "remoting/protocol/port_range.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