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

Unified Diff: net/url_request/url_request_context_storage.h

Issue 10918279: Provide mutable members of UrlRequestContext via pure-virtual interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address erikwright's second round of comments. Created 8 years, 3 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: 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 f792d8ec2f6b892887311d782eaa4afaac2be9b6..bfcdec45bb89284e9f4b27bb615c3f29d0209cb6 100644
--- a/net/url_request/url_request_context_storage.h
+++ b/net/url_request/url_request_context_storage.h
@@ -20,6 +20,7 @@ class HostResolver;
class HttpAuthHandlerFactory;
class HttpServerProperties;
class HttpTransactionFactory;
+class HttpUserAgentSettings;
class NetLog;
class NetworkDelegate;
class ServerBoundCertService;
@@ -65,6 +66,8 @@ class NET_EXPORT URLRequestContextStorage {
FtpTransactionFactory* ftp_transaction_factory);
void set_job_factory(URLRequestJobFactory* job_factory);
void set_throttler_manager(URLRequestThrottlerManager* throttler_manager);
+ void set_http_user_agent_settings(
+ HttpUserAgentSettings* http_user_agent_settings);
private:
// We use a raw pointer to prevent reference cycles, since
@@ -91,6 +94,7 @@ class NET_EXPORT URLRequestContextStorage {
scoped_ptr<FtpTransactionFactory> ftp_transaction_factory_;
scoped_ptr<URLRequestJobFactory> job_factory_;
scoped_ptr<URLRequestThrottlerManager> throttler_manager_;
+ scoped_ptr<HttpUserAgentSettings> http_user_agent_settings_;
DISALLOW_COPY_AND_ASSIGN(URLRequestContextStorage);
};

Powered by Google App Engine
This is Rietveld 408576698