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

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

Issue 2869863002: Enable QUIC for non core data saver proxies (Closed)
Patch Set: megjablon comments Created 3 years, 7 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 52617e082c597700b28cfd4cbb392274cd57f987..4550724dd4a0dba6aba7a699111bb7e6c7188123 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
@@ -244,9 +244,7 @@ bool DataReductionProxyDelegate::SupportsQUIC(
const net::ProxyServer& proxy_server) const {
DCHECK(thread_checker_.CalledOnValidThread());
// Enable QUIC for whitelisted proxies.
- // TODO(tbansal): Use client config service to control this whitelist.
- return base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDataReductionProxyEnableQuicOnNonCoreProxies) ||
+ return params::IsQuicForNonCoreProxiesEnabled() ||
megjablon 2017/05/10 23:11:24 suggestion: IsQuicEnabledForNonCoreProxies reads a
tbansal1 2017/05/11 01:29:28 Done.
proxy_server ==
net::ProxyServer(net::ProxyServer::SCHEME_HTTPS,
net::HostPortPair(kDataReductionCoreProxy, 443));

Powered by Google App Engine
This is Rietveld 408576698