Index: net/proxy/proxy_service.h |
diff --git a/net/proxy/proxy_service.h b/net/proxy/proxy_service.h |
index baca9da875a8add7ab78472be489d8f8f1bf5bfc..605efdff41e04d212e1f1728ba818131a768e3ef 100644 |
--- a/net/proxy/proxy_service.h |
+++ b/net/proxy/proxy_service.h |
@@ -217,6 +217,11 @@ class NET_EXPORT ProxyService : public NetworkChangeNotifier::IPAddressObserver, |
// to downloading and testing the PAC files. |
void ForceReloadProxyConfig(); |
+ // Sets URLs for data reduction proxy. |
+ void SetDataReductionProxyOrigins( |
+ const GURL& data_reduction_default_origin, |
+ const GURL& data_reduction_default_fallback_origin); |
Ryan Sleevi
2014/07/22 01:56:31
Sorry, this is a layering violation.
bengr
2014/07/22 18:55:00
I agree. Would you be ok with introducing a ProxyS
|
+ |
// Same as CreateProxyServiceUsingV8ProxyResolver, except it uses system |
// libraries for evaluating the PAC script if available, otherwise skips |
// proxy autoconfig. |
@@ -484,6 +489,10 @@ class NET_EXPORT ProxyService : public NetworkChangeNotifier::IPAddressObserver, |
// Whether child ProxyScriptDeciders should use QuickCheck |
bool quick_check_enabled_; |
+ // HostPortPair for data reduction proxy origin and fallback origin. |
+ net::HostPortPair data_reduction_default_origin_; |
+ net::HostPortPair data_reduction_default_fallback_origin_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ProxyService); |
}; |