commit | df87046cb8ae4dbd62cda6e56d317016a6fa02c7 | [log] [tgz] |
---|---|---|
author | Hans Wennborg <[email protected]> | Tue Apr 28 11:06:24 2020 |
committer | Commit Bot <[email protected]> | Tue Apr 28 11:06:24 2020 |
tree | 86af48854c1893012833df43f0c245f979f2665a | |
parent | cff25eaef66429d4ed6bc8472af7a80d96d99c8e [diff] [blame] |
Remove/replace unnecessary logging.h includes in .cc files (components) 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: I1c0c8450be6320577ebebe39a2cb1abc692fe8b0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2164613 Commit-Queue: Hans Wennborg <[email protected]> Auto-Submit: Hans Wennborg <[email protected]> Reviewed-by: Ted Choc <[email protected]> Reviewed-by: Mike West <[email protected]> Cr-Commit-Position: refs/heads/master@{#763287}
diff --git a/components/url_pattern_index/url_pattern.cc b/components/url_pattern_index/url_pattern.cc index 1d914efa..9a6b2da3 100644 --- a/components/url_pattern_index/url_pattern.cc +++ b/components/url_pattern_index/url_pattern.cc
@@ -20,7 +20,8 @@ #include <algorithm> #include <ostream> -#include "base/logging.h" +#include "base/check_op.h" +#include "base/notreached.h" #include "base/numerics/checked_math.h" #include "base/strings/string_util.h" #include "components/url_pattern_index/flat/url_pattern_index_generated.h"