Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(445)

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc

Issue 1871783002: Remove the Data Reduction Proxy TLS experiment code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tbansal comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698