Index: components/data_reduction_proxy/common/data_reduction_proxy_headers.h |
diff --git a/components/data_reduction_proxy/common/data_reduction_proxy_headers.h b/components/data_reduction_proxy/common/data_reduction_proxy_headers.h |
index 50aea244124d426967e822902758c962a8cebabe..68d2f68b803ddf9c6298123001fd75f678bc1659 100644 |
--- a/components/data_reduction_proxy/common/data_reduction_proxy_headers.h |
+++ b/components/data_reduction_proxy/common/data_reduction_proxy_headers.h |
@@ -34,7 +34,7 @@ struct DataReductionProxyInfo { |
// (as specified in |ProxyList::UpdateRetryInfoOnFallback|) should be used. |
// If all available data reduction proxies should by bypassed, |bypass_all| is |
// set to true. |proxy_info| must be non-NULL. |
-bool GetDataReductionProxyInfo( |
+bool ParseHeadersAndSetProxyInfo( |
const net::HttpResponseHeaders* headers, |
DataReductionProxyInfo* proxy_info); |
@@ -51,10 +51,10 @@ ProxyService::DataReductionProxyBypassType GetDataReductionProxyBypassType( |
// Searches for the specified Chrome-Proxy action, and if present interprets |
// its value as a duration in seconds. |
-bool GetDataReductionProxyBypassDuration( |
+bool ParseHeadersAndSetProxyInfoBypassDuration( |
const net::HttpResponseHeaders* headers, |
const std::string& action_prefix, |
- base::TimeDelta* duration); |
+ DataReductionProxyInfo* proxy_info); |
} // namespace data_reduction_proxy |
#endif // COMPONENTS_DATA_REDUCTION_PROXY_COMMON_DATA_REDUCTION_PROXY_HEADERS_H_ |