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

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

Issue 1123173004: Do not disable Data Reduction Proxy on VPN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head 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 c52a8f90d161fe738c8f4cf7059ef3fb8285c6f2..40a7c970134d295d9dfdaccc8976dd768b762cc7 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
@@ -113,6 +113,10 @@ class DataReductionProxyParams : public DataReductionProxyConfigValues {
static std::string GetQuicFieldTrialName();
+ // Returns true if this client is part of a field trial that allows Data Saver
+ // to be used on VPN.
+ static bool IsIncludedInUseDataSaverOnVPNFieldTrial();
+
// Returns true if the Data Reduction Proxy config client should be used.
static bool IsConfigClientEnabled();

Powered by Google App Engine
This is Rietveld 408576698