| 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 3769f3a3683031c1a9a3f2fb08df16a621f370da..79205a2441fd0539ba3e6670e83c7408e881e6a3 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() {
|
| return kQuicFieldTrial;
|
| }
|
|
|
| +// static
|
| +bool DataReductionProxyParams::IsConfigClientEnabled() {
|
| + return base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + data_reduction_proxy::switches::kEnableDataReductionProxyConfigClient);
|
| +}
|
| +
|
| void DataReductionProxyParams::EnableQuic(bool enable) {
|
| quic_enabled_ = enable;
|
| DCHECK(!quic_enabled_ || IsIncludedInQuicFieldTrial());
|
|
|