[go: nahoru, domu]

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

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: I39ecaaf0d0770f1048c7f2ce2c43f98ec9212565
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2164633
Commit-Queue: Hans Wennborg <hans@chromium.org>
Auto-Submit: Hans Wennborg <hans@chromium.org>
Reviewed-by: kylechar <kylechar@chromium.org>
Reviewed-by: Matthew Denton <mpdenton@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762782}
diff --git a/base/files/file_util.cc b/base/files/file_util.cc
index 0ae3784..5ecb877d 100644
--- a/base/files/file_util.cc
+++ b/base/files/file_util.cc
@@ -13,9 +13,9 @@
 #include <limits>
 #include <memory>
 
+#include "base/check_op.h"
 #include "base/files/file_enumerator.h"
 #include "base/files/file_path.h"
-#include "base/logging.h"
 #include "base/strings/string_piece.h"
 #include "base/strings/string_util.h"
 #include "base/strings/stringprintf.h"