Commit 7809f385 authored by Hans Wennborg's avatar Hans Wennborg Committed by Commit Bot

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

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: If8491a48b188182c4faf21ef2a77105aa849c2b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2254660
Commit-Queue: Karan Bhatia <karandeepb@chromium.org>
Auto-Submit: Hans Wennborg <hans@chromium.org>
Reviewed-by: default avatarKaran Bhatia <karandeepb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#780448}
parent 5fff53ff
......@@ -12,8 +12,8 @@
#include <unordered_map>
#include <unordered_set>
#include "base/check.h"
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/stl_util.h"
......
......@@ -9,7 +9,7 @@
#include <string>
#include <vector>
#include "base/logging.h"
#include "base/check.h"
#include "base/optional.h"
#include "extensions/browser/api/declarative_net_request/constants.h"
......
......@@ -11,7 +11,6 @@
#include <vector>
#include "base/callback_forward.h"
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/strings/string16.h"
......
......@@ -11,7 +11,6 @@
#include <string>
#include <unordered_map>
#include "base/logging.h"
#include "base/macros.h"
#include "base/observer_list.h"
#include "base/timer/elapsed_timer.h"
......
......@@ -6,7 +6,6 @@
#define EXTENSIONS_COMMON_CONSTANTS_H_
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/strings/string_piece_forward.h"
#include "components/services/app_service/public/mojom/types.mojom.h"
#include "components/version_info/channel.h"
......
......@@ -11,7 +11,7 @@
#include <map>
#include <memory>
#include "base/logging.h"
#include "base/check.h"
namespace extensions {
......
......@@ -7,7 +7,6 @@
#include "extensions/renderer/bindings/interaction_provider.h"
#include "base/logging.h"
#include "base/macros.h"
#include "v8/include/v8.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