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

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: 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/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 fda391c4c56f68f901f85e9034e7587fb2384bda..c57e6c0c7783794c87f097a2f70423ff35f91d16 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
@@ -179,6 +179,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