Index: components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc |
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc |
index 35c93f51f860374837961bad1d6284f5620f6494..b4232750e8393d15d177c743418f9c88e65e6ed2 100644 |
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc |
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc |
@@ -74,9 +74,8 @@ bool GetDataReductionProxyActionValue( |
while (headers->EnumerateHeader(&iter, kChromeProxyHeader, &value)) { |
if (value.size() > prefix.size()) { |
- if (LowerCaseEqualsASCII(value.begin(), |
- value.begin() + prefix.size(), |
- prefix.c_str())) { |
+ if (base::LowerCaseEqualsASCII( |
+ value.begin(), value.begin() + prefix.size(), prefix.c_str())) { |
if (action_value) |
*action_value = value.substr(prefix.size()); |
return true; |
@@ -99,9 +98,8 @@ bool ParseHeadersAndSetBypassDuration(const net::HttpResponseHeaders* headers, |
while (headers->EnumerateHeader(&iter, kChromeProxyHeader, &value)) { |
if (value.size() > prefix.size()) { |
- if (LowerCaseEqualsASCII(value.begin(), |
- value.begin() + prefix.size(), |
- prefix.c_str())) { |
+ if (base::LowerCaseEqualsASCII( |
+ value.begin(), value.begin() + prefix.size(), prefix.c_str())) { |
int64 seconds; |
if (!base::StringToInt64( |
StringPiece(value.begin() + prefix.size(), value.end()), |
@@ -305,10 +303,10 @@ void GetDataReductionProxyHeaderWithFingerprintRemoved( |
void* iter = NULL; |
while (headers->EnumerateHeader(&iter, kChromeProxyHeader, &value)) { |
if (value.size() > chrome_proxy_fingerprint_prefix.size()) { |
- if (LowerCaseEqualsASCII( |
- value.begin(), |
- value.begin() + chrome_proxy_fingerprint_prefix.size(), |
- chrome_proxy_fingerprint_prefix.c_str())) { |
+ if (base::LowerCaseEqualsASCII( |
+ value.begin(), |
+ value.begin() + chrome_proxy_fingerprint_prefix.size(), |
+ chrome_proxy_fingerprint_prefix.c_str())) { |
continue; |
} |
} |