[go: nahoru, domu]

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

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: Ifb0585f520cde43e15d61e566bf92778dafec5ed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2164892
Auto-Submit: Hans Wennborg <hans@chromium.org>
Reviewed-by: David Benjamin <davidben@chromium.org>
Commit-Queue: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762474}
diff --git a/crypto/symmetric_key.cc b/crypto/symmetric_key.cc
index b239d22c..63e070df 100644
--- a/crypto/symmetric_key.cc
+++ b/crypto/symmetric_key.cc
@@ -10,7 +10,8 @@
 #include <algorithm>
 #include <utility>
 
-#include "base/logging.h"
+#include "base/check_op.h"
+#include "base/notreached.h"
 #include "base/strings/string_util.h"
 #include "crypto/openssl_util.h"
 #include "third_party/boringssl/src/include/openssl/evp.h"