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

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

Issue 10203002: Make URLRequestThrottlerManager a member of URLRequestContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review. 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/off_the_record_profile_io_data.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
index c0507d123e45a2ade5b4947b862cf11df6b8b78b..ab4e239b36d596ff5974c3aef7a0d31708ce8d26 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
@@ -177,6 +177,11 @@ void OffTheRecordProfileIOData::LazyInitializeInternal(
fraudulent_certificate_reporter());
main_context->set_proxy_service(proxy_service());
+ main_context->set_throttler_manager(
+ io_thread_globals->throttler_manager.get());
+ extensions_context->set_throttler_manager(
+ io_thread_globals->throttler_manager.get());
+
// For incognito, we use the default non-persistent HttpServerPropertiesImpl.
http_server_properties_.reset(new net::HttpServerPropertiesImpl);
main_context->set_http_server_properties(http_server_properties_.get());

Powered by Google App Engine
This is Rietveld 408576698