Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc |
index 52948d4a779092cc3f5cbb0962cd7c7fe57218c9..45858bb44dbf8ec66c98bef8af11bba82dd98632 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc |
@@ -158,9 +158,6 @@ void DataReductionProxyBypassStats::OnProxyFallback( |
if (bypassed_proxy.is_valid() && !bypassed_proxy.is_direct() && |
data_reduction_proxy_config_->IsDataReductionProxy( |
bypassed_proxy.host_port_pair(), &data_reduction_proxy_info)) { |
- if (data_reduction_proxy_info.is_ssl) |
- return; |
- |
proxy_net_errors_count_++; |
// To account for the case when the proxy is reachable for sometime, and |
@@ -188,16 +185,6 @@ void DataReductionProxyBypassStats::OnProxyFallback( |
} |
} |
-void DataReductionProxyBypassStats::OnConnectComplete( |
- const net::HostPortPair& proxy_server, |
- int net_error) { |
- if (data_reduction_proxy_config_->IsDataReductionProxy(proxy_server, NULL)) { |
- UMA_HISTOGRAM_SPARSE_SLOWLY( |
- "DataReductionProxy.HTTPConnectCompleted", |
- std::abs(net_error)); |
- } |
-} |
- |
void DataReductionProxyBypassStats::ClearRequestCounts() { |
successful_requests_through_proxy_count_ = 0; |
proxy_net_errors_count_ = 0; |