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

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

Issue 1162903008: Add field trial handling to enable the Data Reduction Proxy config service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bengr CR comment Created 5 years, 6 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/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 111abe04a48c8429e8be35f7ce4d8eb54e6608df..05e2fe1b01123b399fc09f5a0f254c4e2811f61e 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
@@ -124,6 +124,10 @@ class DataReductionProxyParams : public DataReductionProxyConfigValues {
// Returns true if the Data Reduction Proxy config client should be used.
static bool IsConfigClientEnabled();
+ // If the Data Reduction Proxy config client is being used, the URL for the
+ // Data Reduction Proxy config service.
+ static GURL GetConfigServiceURL();
+
// Returns true if the Data Reduction Proxy is forced to be enabled from the
// command line.
static bool ShouldForceEnableDataReductionProxy();

Powered by Google App Engine
This is Rietveld 408576698