| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc
|
| index 82eb6f27b2cd42542258e846fdf508187ce9d492..7b534ccb3211348f853c8ba7ca171eb8e97d6848 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc
|
| @@ -367,22 +367,23 @@ void DataReductionProxyNetworkDelegate::RecordLoFiTransformationType(
|
| LO_FI_TRANSFORMATION_TYPES_INDEX_BOUNDARY);
|
| }
|
|
|
| bool DataReductionProxyNetworkDelegate::WasEligibleWithoutHoldback(
|
| const net::URLRequest& request,
|
| const net::ProxyInfo& proxy_info,
|
| const net::ProxyRetryInfoMap& proxy_retry_info) const {
|
| DCHECK(proxy_info.is_empty() || proxy_info.is_direct() ||
|
| !data_reduction_proxy_config_->IsDataReductionProxy(
|
| proxy_info.proxy_server().host_port_pair(), nullptr));
|
| - if (!EligibleForDataReductionProxy(proxy_info, request.url(),
|
| - request.method())) {
|
| + if (!util::EligibleForDataReductionProxy(proxy_info, request.url(),
|
| + request.method())) {
|
| return false;
|
| }
|
| net::ProxyConfig proxy_config =
|
| data_reduction_proxy_config_->ProxyConfigIgnoringHoldback();
|
| net::ProxyInfo data_reduction_proxy_info;
|
| - return ApplyProxyConfigToProxyInfo(proxy_config, proxy_retry_info,
|
| - request.url(), &data_reduction_proxy_info);
|
| + return util::ApplyProxyConfigToProxyInfo(proxy_config, proxy_retry_info,
|
| + request.url(),
|
| + &data_reduction_proxy_info);
|
| }
|
|
|
| } // namespace data_reduction_proxy
|
|
|