| Index: net/http/http_log_util.cc
|
| diff --git a/net/http/http_log_util.cc b/net/http/http_log_util.cc
|
| index 4d0e6e98ce81d1e44c73727a4094e5c5a8784943..7e939113efe0a7e6d4540034a18ecb9a433af552 100644
|
| --- a/net/http/http_log_util.cc
|
| +++ b/net/http/http_log_util.cc
|
| @@ -34,34 +34,11 @@ 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,
|
| - std::string::const_iterator* redact_end) {
|
| - HttpUtil::ValuesIterator it(header_value.begin(), header_value.end(), ',');
|
| - while (it.GetNext()) {
|
| - if (LowerCaseEqualsASCII(it.value_begin(),
|
| - it.value_begin() + directive.size(),
|
| - directive.c_str())) {
|
| - *redact_begin = it.value_begin();
|
| - *redact_end = it.value_end();
|
| - return;
|
| - }
|
| - }
|
| -}
|
| -#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) {
|
|
|