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

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

Issue 1124073008: Base Data Reduction Proxy configuration on vectors of servers per origin scheme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bengr CR comments Created 5 years, 7 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_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.

Powered by Google App Engine
This is Rietveld 408576698