| 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 79205a2441fd0539ba3e6670e83c7408e881e6a3..d62b73b4d58ca26690bac7e65ff0f466e4d96c7c 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
|
| @@ -102,7 +102,6 @@ bool DataReductionProxyParams::IsIncludedInAndroidOnePromoFieldTrial(
|
| bool DataReductionProxyParams::IsLoFiEnabled() {
|
| return base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| data_reduction_proxy::switches::kEnableDataReductionProxyLoFi);
|
| -
|
| }
|
|
|
| //static
|
| @@ -136,6 +135,12 @@ bool DataReductionProxyParams::IsConfigClientEnabled() {
|
| data_reduction_proxy::switches::kEnableDataReductionProxyConfigClient);
|
| }
|
|
|
| +// static
|
| +bool DataReductionProxyParams::ShouldForceEnableDataReductionProxy() {
|
| + return base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + data_reduction_proxy::switches::kEnableDataReductionProxy);
|
| +}
|
| +
|
| void DataReductionProxyParams::EnableQuic(bool enable) {
|
| quic_enabled_ = enable;
|
| DCHECK(!quic_enabled_ || IsIncludedInQuicFieldTrial());
|
|
|