summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/profile_impl_io_data.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profiles/profile_impl_io_data.cc')
-rw-r--r--chrome/browser/profiles/profile_impl_io_data.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
index c6522a8..f6a04b2 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -179,11 +179,17 @@ void ProfileImplIOData::Handle::Init(
BrowserThread::GetMessageLoopProxyForThread(
BrowserThread::UI)).Pass());
+ // TODO(tbansal): Move this to IO thread once the data reduction proxy
+ // params are unified into a single object.
+ bool enable_quic_for_data_reduction_proxy =
+ IOThread::ShouldEnableQuicForDataReductionProxy();
+
DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile_)->
InitDataReductionProxySettings(io_data_->data_reduction_proxy_io_data(),
profile_->GetPrefs(),
g_browser_process->local_state(),
- profile_->GetRequestContext());
+ profile_->GetRequestContext(),
+ enable_quic_for_data_reduction_proxy);
}
content::ResourceContext*