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 7d2e1826ba0c2309268cfced6a2719be763e9129..0692ab3d1db4337bd33fa833952d5099df02e279 100644 |
| --- a/chrome/browser/profiles/profile_impl_io_data.cc |
| +++ b/chrome/browser/profiles/profile_impl_io_data.cc |
| @@ -443,10 +443,10 @@ void ProfileImplIOData::InitializeInternal( |
| lazy_params_->cache_max_size, |
| BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE) |
| .get()); |
| - net::HttpNetworkSession::Params network_session_params; |
| - PopulateNetworkSessionParams(profile_params, &network_session_params); |
| - net::HttpCache* main_cache = new net::HttpCache( |
| - network_session_params, main_backend); |
| + InitializeNetworkTransactionFactory(profile_params); |
| + net::HttpTransactionFactory* network_layer = network_transaction_factory(); |
| + net::HttpCache* main_cache = new net::HttpCache(network_layer, |
| + network_layer->GetSession()->net_log(), main_backend); |
|
mmenke
2014/03/07 19:38:08
This constructor doesn't initialize QUIC. You sho
|
| main_cache->InitializeInfiniteCache(lazy_params_->infinite_cache_path); |
| #if defined(OS_ANDROID) || defined(OS_IOS) |