Chromium Code Reviews| Index: components/data_reduction_proxy/core/common/data_reduction_proxy_params.h |
| diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h |
| index 4aea4d5ca5f91ec4a185aa7ba2dcc30be100b50d..0a25acedaf7bf34c177d57b3cb1003f6c275f806 100644 |
| --- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h |
| +++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h |
| @@ -148,6 +148,12 @@ bool GetOverrideProxiesForHttpFromCommandLine( |
| // Returns the name of the server side experiment field trial. |
| const char* GetServerExperimentsFieldTrialName(); |
| +// Returns true if the fetching of warm up URL is enabled. |
|
RyanSturm
2016/12/08 20:59:17
s/the fetching of warm up/fetching of the warm up/
tbansal1
2016/12/10 00:48:49
Done.
|
| +bool FetchWarmupURLEnabled(); |
| + |
| +// Returns the warm up URL. |
| +GURL GetWarmupURL(); |
| + |
| } // namespace params |
| // Contains information about a given proxy server. |proxies_for_http| contains |
| @@ -222,7 +228,6 @@ class DataReductionProxyParams : public DataReductionProxyConfigValues { |
| virtual std::string GetDefaultOrigin() const; |
| virtual std::string GetDefaultFallbackOrigin() const; |
| virtual std::string GetDefaultSecureProxyCheckURL() const; |
| - virtual std::string GetDefaultWarmupURL() const; |
| std::vector<net::ProxyServer> proxies_for_http_; |
| @@ -231,7 +236,6 @@ class DataReductionProxyParams : public DataReductionProxyConfigValues { |
| net::ProxyServer fallback_origin_; |
| GURL secure_proxy_check_url_; |
| - GURL warmup_url_; |
| bool allowed_; |
| bool fallback_allowed_; |