Chromium Code Reviews| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc |
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc |
| index 26fad478e18f7411bbebe146fa19f8d22395c8fa..b1f23812ce2ed1e969dade29a0bb4950255b44b5 100644 |
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc |
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc |
| @@ -130,7 +130,8 @@ void DataReductionProxySettings::InitDataReductionProxySettings( |
| PrefService* prefs, |
| net::URLRequestContextGetter* url_request_context_getter, |
| net::NetLog* net_log, |
| - DataReductionProxyEventStore* event_store) { |
| + DataReductionProxyEventStore* event_store, |
| + bool quic_enabled_for_proxies) { |
|
bengr
2015/02/10 20:18:31
I weakly prefer adding EnableQUIC instead of addin
tbansal1
2015/02/10 22:24:38
Done.
|
| DCHECK(thread_checker_.CalledOnValidThread()); |
| DCHECK(prefs); |
| DCHECK(url_request_context_getter); |
| @@ -142,6 +143,8 @@ void DataReductionProxySettings::InitDataReductionProxySettings( |
| InitPrefMembers(); |
| RecordDataReductionInit(); |
| + params()->SetIsQuicEnabledForProxies(quic_enabled_for_proxies); |
| + |
| // Disable the proxy if it is not allowed to be used. |
| if (!params()->allowed()) |
| return; |