Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: components/data_reduction_proxy/common/data_reduction_proxy_headers.h

Issue 382313003: Add data reduction functionality to all platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove extra new line. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
bengr 2014/07/18 19:41:44 Why did this parameter change?
Not at Google. Contact bengr 2014/07/21 17:46:26 Reverted. Had initially changed to dereference pr
} // namespace data_reduction_proxy
#endif // COMPONENTS_DATA_REDUCTION_PROXY_COMMON_DATA_REDUCTION_PROXY_HEADERS_H_

Powered by Google App Engine
This is Rietveld 408576698