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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h

Issue 2334623003: Store net::ProxyServer in HttpResponseInfo object (Closed)
Patch Set: Rebased Created 4 years, 2 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/core/browser/data_reduction_proxy_config.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h
index fcf30e1418467153a5489cada64826193633ce0e..fb4eb6ba421fdf8979f56e754233a183e6c47f87 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h
@@ -36,6 +36,7 @@ class SingleThreadTaskRunner;
namespace net {
class HostPortPair;
class NetLog;
+class ProxyServer;
class URLFetcher;
class URLRequest;
class URLRequestContextGetter;
@@ -130,7 +131,7 @@ class DataReductionProxyConfig
const net::URLRequest* request,
DataReductionProxyTypeInfo* proxy_info) const;
- // Returns true if the specified |host_port_pair| matches a Data Reduction
+ // Returns true if the specified |proxy_server| matches a Data Reduction
// Proxy. If true, |proxy_info.proxy_servers.front()| will contain the name of
// the proxy that matches. Subsequent entries in |proxy_info.proxy_servers|
// will contain the name of the Data Reduction Proxy servers that would be
@@ -139,7 +140,7 @@ class DataReductionProxyConfig
// can be NULL if the caller isn't interested in its values. Virtual for
// testing.
virtual bool IsDataReductionProxy(
- const net::HostPortPair& host_port_pair,
+ const net::ProxyServer& proxy_server,
DataReductionProxyTypeInfo* proxy_info) const;
// Returns true if this request would be bypassed by the Data Reduction Proxy

Powered by Google App Engine
This is Rietveld 408576698