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 |