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

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

Issue 1732213002: Remove DataCompressionProxyDevRollout experiment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits 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_config_service_client.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc
index 2fda7a2f9e6c27a8cf8206973fe7394d51b80d39..1c222b0f53ce1f0762f393e4b5eb194e210681a8 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc
@@ -472,16 +472,6 @@ bool DataReductionProxyConfigServiceClient::ParseAndApplyProxyConfig(
std::vector<net::ProxyServer> proxies =
GetProxiesForHTTP(config.proxy_config());
- if (params_ && params::IsDevRolloutEnabled()) {
- // If dev rollout is enabled, proxies returned by client config API are
- // discarded.
- proxies.clear();
- proxies.push_back(net::ProxyServer::FromURI(params_->GetDefaultDevOrigin(),
- net::ProxyServer::SCHEME_HTTP));
- proxies.push_back(net::ProxyServer::FromURI(
- params_->GetDefaultDevFallbackOrigin(), net::ProxyServer::SCHEME_HTTP));
- }
-
if (proxies.empty())
return false;

Powered by Google App Engine
This is Rietveld 408576698