Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2304)

Unified Diff: chrome/browser/profiles/profile_impl_io_data.cc

Issue 1456123002: Remove Remaining Predictor Jank Instrumentation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/net/predictor.cc ('k') | components/domain_reliability/config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5638f8c84da657ec45fa5305830c673f2966ddaf..6f1c2a1dda2e2d9737260e8573e110986240c3c2 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -521,22 +521,16 @@ void ProfileImplIOData::InitializeInternal(
set_channel_id_service(channel_id_service);
main_context->set_channel_id_service(channel_id_service);
- {
- // TODO(ttuttle): Remove ScopedTracker below once crbug.com/436671 is fixed.
- tracked_objects::ScopedTracker tracking_profile(
- FROM_HERE_WITH_EXPLICIT_FUNCTION("436671 HttpCache construction"));
- scoped_ptr<net::HttpCache::BackendFactory> main_backend(
- new net::HttpCache::DefaultBackend(
- net::DISK_CACHE,
- ChooseCacheBackendType(),
- lazy_params_->cache_path,
- lazy_params_->cache_max_size,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE)));
- http_network_session_ = CreateHttpNetworkSession(*profile_params);
- main_http_factory_ = CreateMainHttpFactory(http_network_session_.get(),
- main_backend.Pass());
- }
-
+ scoped_ptr<net::HttpCache::BackendFactory> main_backend(
+ new net::HttpCache::DefaultBackend(
+ net::DISK_CACHE,
+ ChooseCacheBackendType(),
+ lazy_params_->cache_path,
+ lazy_params_->cache_max_size,
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE)));
+ http_network_session_ = CreateHttpNetworkSession(*profile_params);
+ main_http_factory_ = CreateMainHttpFactory(http_network_session_.get(),
+ main_backend.Pass());
main_context->set_http_transaction_factory(main_http_factory_.get());
#if !defined(DISABLE_FTP_SUPPORT)
« no previous file with comments | « chrome/browser/net/predictor.cc ('k') | components/domain_reliability/config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698