| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc
|
| index 4661367b041e1caa3b7075815377f12e2fb77511..d0f1dbc69c33419c8ca3bc72e24024ca5802b4a0 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc
|
| @@ -835,6 +835,11 @@ bool DataReductionProxyConfig::ShouldEnableLoFiMode(
|
| return enable_lofi;
|
| }
|
|
|
| +bool DataReductionProxyConfig::enabled_by_user_and_reachable() const {
|
| + DCHECK(thread_checker_.CalledOnValidThread());
|
| + return enabled_by_user_ && !unreachable_;
|
| +}
|
| +
|
| bool DataReductionProxyConfig::ShouldEnableLoFiModeInternal(
|
| const net::NetworkQualityEstimator* network_quality_estimator) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
|
|