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

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: Make throttler_manager() optional. 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 3345c85ef8d10bee3499396275ef6285162a0e9e..845abe543b6f9937d9018b760060c18b5affa245 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