| Index: components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc
|
| diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc
|
| index 3ecef8a0704c590443fe527a2288750366425e80..1863056b4b7d47f74bc95a61defc222a36514996 100644
|
| --- a/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc
|
| +++ b/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc
|
| @@ -301,8 +301,10 @@ class DailyDataSavingUpdate {
|
| // the request is bypassed by more than one proxy, delay_seconds returns
|
| // shortest delay.
|
| bool IsBypassRequest(const net::URLRequest* request, int64* delay_seconds) {
|
| - DataReductionProxySettings::DataReductionProxyList proxies =
|
| - DataReductionProxySettings::GetDataReductionProxies();
|
| + // TODO(bengr): Add support for other data reduction proxy configurations.
|
| + DataReductionProxyParams params(true, true, false, true);
|
| + DataReductionProxyParams::DataReductionProxyList proxies =
|
| + params.GetAllowedProxies();
|
| if (proxies.size() == 0)
|
| return false;
|
|
|
|
|