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

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

Issue 1132083004: Enable an option to only use the secure Data Reduction Proxy when the secure proxy check succeeds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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 fe345eca338ab13bacfb9fdb3abc459f08284956..c52a8f90d161fe738c8f4cf7059ef3fb8285c6f2 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
@@ -120,6 +120,10 @@ class DataReductionProxyParams : public DataReductionProxyConfigValues {
// command line.
static bool ShouldForceEnableDataReductionProxy();
+ // Returns true if the secure Data Reduction Proxy should be used until the
+ // secure proxy check fails.
+ static bool ShouldUseSecureProxyByDefault();
+
// 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