| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc
|
| index bdb0d476a71afd95298b865bef4012cede5b5a08..b9a4168edbcff688e38b2d144cbd0bf8fec99b49 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc
|
| @@ -55,7 +55,8 @@ DataReductionProxyRequestType GetDataReductionProxyRequestType(
|
| // due to other proxies overriding the Data Reduction Proxy, and bypasses due
|
| // to local bypass rules.
|
| if ((request.load_flags() & net::LOAD_BYPASS_PROXY) ||
|
| - (!request.proxy_server().IsEmpty() &&
|
| + (request.proxy_server().is_valid() &&
|
| + !request.proxy_server().is_direct() &&
|
| !config.IsDataReductionProxy(request.proxy_server(), NULL)) ||
|
| config.IsBypassedByDataReductionProxyLocalRules(
|
| request, data_reduction_proxy_config)) {
|
|
|