Index: net/http/http_log_util.cc |
diff --git a/net/http/http_log_util.cc b/net/http/http_log_util.cc |
index 500f2209da24b4e5457ff82005ba6dec396622e1..8146f0d6b17a55d7a2a56293a4b37dd731872fe0 100644 |
--- a/net/http/http_log_util.cc |
+++ b/net/http/http_log_util.cc |
@@ -8,6 +8,7 @@ |
#include "base/strings/string_util.h" |
#include "base/strings/stringprintf.h" |
#include "net/http/http_auth_challenge_tokenizer.h" |
+#include "net/http/http_auth_scheme.h" |
#include "net/http/http_util.h" |
namespace net { |
@@ -27,7 +28,7 @@ bool ShouldRedactChallenge(HttpAuthChallengeTokenizer* challenge) { |
// Ignore Basic and Digest authentication challenges, as they contain |
// public information. |
- if (scheme == "basic" || scheme == "digest") |
+ if (scheme == kBasicAuthScheme || scheme == kDigestAuthScheme) |
return false; |
return true; |