Chromium Code Reviews| 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..c029f329c26dadfb397d45380bab23c3b08a049a 100644 |
| --- a/chrome/browser/profiles/profile_impl_io_data.cc |
| +++ b/chrome/browser/profiles/profile_impl_io_data.cc |
| @@ -184,6 +184,15 @@ void ProfileImplIOData::Handle::Init( |
| profile_->GetPrefs(), |
| g_browser_process->local_state(), |
| profile_->GetRequestContext()); |
| + |
| + const base::CommandLine& command_line = |
| + *base::CommandLine::ForCurrentProcess(); |
| + bool quic_enabled_for_proxies = |
| + IOThread::ShouldEnableQuicForProxies(command_line, |
| + IOThread::QuicTrialGroup()); |
|
mmenke
2015/02/12 18:10:45
Calling IOThread methods on the UI threads, even s
tbansal1
2015/02/13 17:10:40
Fixed, now calling it on IO thread.
|
| + |
| + DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile_)-> |
| + EnableQuic(quic_enabled_for_proxies); |
| } |
| content::ResourceContext* |