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

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

Issue 10203002: Make URLRequestThrottlerManager a member of URLRequestContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge LKGR (pure merge) Created 8 years, 8 months 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
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 ffe98e7cf3699617681a0a00f6f9f8d93ad6b0d8..a651e0d868e9e8e2127ac5775e6e47d47ae9d443 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -310,6 +310,13 @@ void ProfileImplIOData::LazyInitializeInternal(
media_request_context_->set_fraudulent_certificate_reporter(
fraudulent_certificate_reporter());
+ main_context->set_throttler_manager(
+ io_thread_globals->throttler_manager.get());
+ media_request_context_->set_throttler_manager(
+ io_thread_globals->throttler_manager.get());
+ extensions_context->set_throttler_manager(
+ io_thread_globals->throttler_manager.get());
+
main_context->set_proxy_service(proxy_service());
media_request_context_->set_proxy_service(proxy_service());

Powered by Google App Engine
This is Rietveld 408576698