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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_params.h

Issue 2503273002: Fetch a warmup URL if data reduction proxy is enabled (Closed)
Patch Set: ryansturm comments Created 4 years 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/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..bfdf16ec72c8051f75b1f741bbce1cee252964e0 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 fetching of the warmup URL is enabled.
+bool FetchWarmupURLEnabled();
+
+// Returns the warmup 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_;

Powered by Google App Engine
This is Rietveld 408576698