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

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

Issue 1057473003: Remove BooleanPrefMember usage from Data Reduction Proxy IO classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bengr CR comments Created 5 years, 8 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 0f6aea8c0b7f27f567a2ba83c3857a7a2f8f5851..fe345eca338ab13bacfb9fdb3abc459f08284956 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
@@ -116,6 +116,10 @@ class DataReductionProxyParams : public DataReductionProxyConfigValues {
// Returns true if the Data Reduction Proxy config client should be used.
static bool IsConfigClientEnabled();
+ // Returns true if the Data Reduction Proxy is forced to be enabled from the
+ // command line.
+ static bool ShouldForceEnableDataReductionProxy();
+
// Constructs configuration parameters. If |kAllowed|, then the standard
// data reduction proxy configuration is allowed to be used. If
// |kfallbackAllowed| a fallback proxy can be used if the primary proxy is

Powered by Google App Engine
This is Rietveld 408576698