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

Unified Diff: net/url_request/url_request_context_storage.h

Issue 10203002: Make URLRequestThrottlerManager a member of URLRequestContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. 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
« no previous file with comments | « net/url_request/url_request_context.cc ('k') | net/url_request/url_request_context_storage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context_storage.h
diff --git a/net/url_request/url_request_context_storage.h b/net/url_request/url_request_context_storage.h
index 1e62fb15f448530414861aa3942c4aa39ed57f5b..7652952c65854f0193511b35902df3e918e0fd16 100644
--- a/net/url_request/url_request_context_storage.h
+++ b/net/url_request/url_request_context_storage.h
@@ -29,6 +29,7 @@ class SSLConfigService;
class TransportSecurityState;
class URLRequestContext;
class URLRequestJobFactory;
+class URLRequestThrottlerManager;
// URLRequestContextStorage is a helper class that provides storage for unowned
// member variables of URLRequestContext.
@@ -64,6 +65,7 @@ class NET_EXPORT URLRequestContextStorage {
void set_ftp_transaction_factory(
FtpTransactionFactory* ftp_transaction_factory);
void set_job_factory(URLRequestJobFactory* job_factory);
+ void set_throttler_manager(URLRequestThrottlerManager* throttler_manager);
private:
// We use a raw pointer to prevent reference cycles, since
@@ -89,6 +91,7 @@ class NET_EXPORT URLRequestContextStorage {
scoped_ptr<HttpTransactionFactory> http_transaction_factory_;
scoped_ptr<FtpTransactionFactory> ftp_transaction_factory_;
scoped_ptr<URLRequestJobFactory> job_factory_;
+ scoped_ptr<URLRequestThrottlerManager> throttler_manager_;
DISALLOW_COPY_AND_ASSIGN(URLRequestContextStorage);
};
« no previous file with comments | « net/url_request/url_request_context.cc ('k') | net/url_request/url_request_context_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698