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

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

Issue 1871783002: Remove the Data Reduction Proxy TLS experiment code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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_delegate.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc
index eff9462cd81912e1303ae60c24eda4127843c86e..d1e9a4dce6f960cad651a80f67da19efd15a7d57 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc
@@ -63,10 +63,6 @@ void DataReductionProxyDelegate::OnTunnelConnectCompleted(
const net::HostPortPair& endpoint,
const net::HostPortPair& proxy_server,
int net_error) {
- if (config_->IsDataReductionProxy(proxy_server, NULL)) {
- UMA_HISTOGRAM_SPARSE_SLOWLY("DataReductionProxy.HTTPConnectCompleted",
- std::abs(net_error));
- }
}
void DataReductionProxyDelegate::OnFallback(const net::ProxyServer& bad_proxy,
@@ -90,8 +86,6 @@ void DataReductionProxyDelegate::OnBeforeSendHeaders(
void DataReductionProxyDelegate::OnBeforeTunnelRequest(
const net::HostPortPair& proxy_server,
net::HttpRequestHeaders* extra_headers) {
- request_options_->MaybeAddProxyTunnelRequestHandler(
- proxy_server, extra_headers);
}
bool DataReductionProxyDelegate::IsTrustedSpdyProxy(

Powered by Google App Engine
This is Rietveld 408576698