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 aab8a9e04e93f521f4adbee37107ebb7421346b7..196203352bafe056f012536cf8e7f504a5a265fc 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 |