Index: chrome/browser/profiles/profile_impl_io_data.cc |
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc |
index e2cb0ec4ef3e10a0c01acdce32227b3e2d5591a7..8d07edd508b89a06e3078f6887bcbbc80382b78b 100644 |
--- a/chrome/browser/profiles/profile_impl_io_data.cc |
+++ b/chrome/browser/profiles/profile_impl_io_data.cc |
@@ -172,6 +172,11 @@ void ProfileImplIOData::Handle::Init( |
ChromeNetLog* const net_log = g_browser_process->io_thread()->net_log(); |
+ const base::CommandLine& command_line = |
+ *base::CommandLine::ForCurrentProcess(); |
+ bool quic_enabled_for_proxies = |
+ IOThread::ShouldEnableQuicForProxies(command_line, |
+ IOThread::QuicFieldTrialName()); |
io_data_->set_data_reduction_proxy_io_data( |
CreateDataReductionProxyChromeIOData( |
net_log, profile_, profile_->GetPrefs(), |
@@ -179,11 +184,11 @@ void ProfileImplIOData::Handle::Init( |
BrowserThread::GetMessageLoopProxyForThread( |
BrowserThread::UI)).Pass()); |
- DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile_)-> |
- InitDataReductionProxySettings(io_data_->data_reduction_proxy_io_data(), |
- profile_->GetPrefs(), |
- g_browser_process->local_state(), |
- profile_->GetRequestContext()); |
+ DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile_) |
+ ->InitDataReductionProxySettings( |
+ io_data_->data_reduction_proxy_io_data(), profile_->GetPrefs(), |
+ g_browser_process->local_state(), profile_->GetRequestContext(), |
+ quic_enabled_for_proxies); |
} |
content::ResourceContext* |