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)); |