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 5ae984ef36fc3a9da53f50018101510d63d92cf8..c76189eabcfb88a68998ae94d9836401c6885c27 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 |
@@ -221,9 +221,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::IsQuicEnabledForNonCoreProxies() || |
proxy_server == |
net::ProxyServer(net::ProxyServer::SCHEME_HTTPS, |
net::HostPortPair(kDataReductionCoreProxy, 443)); |