Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h |
index f62bb7fe40775a8ceb3ac4bf32aae70a7236c2b5..1e76881a2d3da3d2adc9d24f11595ad87b4b6b8d 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h |
@@ -15,6 +15,7 @@ |
namespace net { |
class NetLog; |
class ProxyInfo; |
+class ProxyServer; |
class ProxyService; |
} |
@@ -35,12 +36,11 @@ class DataReductionProxyConfigurator { |
virtual ~DataReductionProxyConfigurator(); |
// Constructs a proxy configuration suitable for enabling the Data Reduction |
- // proxy. |
- virtual void Enable(bool primary_restricted, |
- bool fallback_restricted, |
- const std::string& primary_origin, |
- const std::string& fallback_origin, |
- const std::string& ssl_origin); |
+ // proxy. If true, |secure_transport_restricted| indicates that proxies going |
+ // over secure transports (HTTPS) should/can not be used. |
+ virtual void Enable(bool secure_transport_restricted, |
+ const std::vector<net::ProxyServer>& proxies_for_http, |
+ const std::vector<net::ProxyServer>& proxies_for_https); |
// Constructs a proxy configuration suitable for disabling the Data Reduction |
// proxy. |