| Index: components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
|
| diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
|
| index f5804d08d09f80277f791236bca2da28eb77b961..5a7c9e2acc720c14f97c3cdc27e26666e896c917 100644
|
| --- a/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
|
| +++ b/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
|
| @@ -358,23 +358,6 @@ bool DataReductionProxyParams::IsDataReductionProxy(
|
| return false;
|
| }
|
|
|
| -// TODO(kundaji): Check that the request will actually be sent through the
|
| -// proxy.
|
| -bool DataReductionProxyParams::IsDataReductionProxyEligible(
|
| - const net::URLRequest* request) {
|
| - DCHECK(request);
|
| - DCHECK(request->context());
|
| - DCHECK(request->context()->proxy_service());
|
| - net::ProxyInfo result;
|
| - request->context()->proxy_service()->config().proxy_rules().Apply(
|
| - request->url(), &result);
|
| - if (!result.proxy_server().is_valid())
|
| - return false;
|
| - if (result.proxy_server().is_direct())
|
| - return false;
|
| - return IsDataReductionProxy(result.proxy_server().host_port_pair(), NULL);
|
| -}
|
| -
|
| bool DataReductionProxyParams::IsBypassedByDataReductionProxyLocalRules(
|
| const net::URLRequest& request,
|
| const net::ProxyConfig& data_reduction_proxy_config) const {
|
|
|