Index: components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc |
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc |
index 3951d091bd21914277ca1b1628b01f660f0c491e..ce22d525fcf2ad19ba9d964867b526b16cf53fc1 100644 |
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc |
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc |
@@ -130,6 +130,12 @@ std::string DataReductionProxyParams::GetQuicFieldTrialName() { |
} |
// static |
+bool DataReductionProxyParams::IsIncludedInUseDataSaverOnVPNFieldTrial() { |
+ return FieldTrialList::FindFullName("DataReductionProxyUseDataSaverOnVPN") == |
+ kEnabled; |
+} |
+ |
+// static |
bool DataReductionProxyParams::IsConfigClientEnabled() { |
return base::CommandLine::ForCurrentProcess()->HasSwitch( |
data_reduction_proxy::switches::kEnableDataReductionProxyConfigClient); |