| 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 d62b73b4d58ca26690bac7e65ff0f466e4d96c7c..c47a06d56fee720902d55878f9b253e3ae0ba842 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
|
| @@ -141,6 +141,16 @@ bool DataReductionProxyParams::ShouldForceEnableDataReductionProxy() {
|
| data_reduction_proxy::switches::kEnableDataReductionProxy);
|
| }
|
|
|
| +// static
|
| +bool DataReductionProxyParams::ShouldUseSecureProxyByDefault() {
|
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + data_reduction_proxy::switches::
|
| + kDataReductionProxyStartSecureDisabled))
|
| + return false;
|
| +
|
| + return true;
|
| +}
|
| +
|
| void DataReductionProxyParams::EnableQuic(bool enable) {
|
| quic_enabled_ = enable;
|
| DCHECK(!quic_enabled_ || IsIncludedInQuicFieldTrial());
|
|
|