| Index: net/http/http_log_util.cc
|
| diff --git a/net/http/http_log_util.cc b/net/http/http_log_util.cc
|
| index 570232fc3e75be5e049372094825c68b7de51bce..603eef4beab6c97417f1db1ef93bba3c0fbae238 100644
|
| --- a/net/http/http_log_util.cc
|
| +++ b/net/http/http_log_util.cc
|
| @@ -34,7 +34,6 @@ bool ShouldRedactChallenge(HttpAuthChallengeTokenizer* challenge) {
|
|
|
| } // namespace
|
|
|
| -#if defined(SPDY_PROXY_AUTH_ORIGIN)
|
| void ElideChromeProxyDirective(const std::string& header_value,
|
| const std::string& directive,
|
| std::string::const_iterator* redact_begin,
|
| @@ -50,18 +49,15 @@ void ElideChromeProxyDirective(const std::string& header_value,
|
| }
|
| }
|
| }
|
| -#endif
|
|
|
| std::string ElideHeaderValueForNetLog(NetLog::LogLevel log_level,
|
| const std::string& header,
|
| const std::string& value) {
|
| std::string::const_iterator redact_begin = value.begin();
|
| std::string::const_iterator redact_end = value.begin();
|
| -#if defined(SPDY_PROXY_AUTH_ORIGIN)
|
| if (!base::strcasecmp(header.c_str(), "chrome-proxy")) {
|
| ElideChromeProxyDirective(value, "sid=", &redact_begin, &redact_end);
|
| }
|
| -#endif
|
|
|
| if (redact_begin == redact_end &&
|
| log_level >= NetLog::LOG_STRIP_PRIVATE_DATA) {
|
|
|