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

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: add TODO Created 8 years, 2 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 bc040b2907d91c928dab15906db654d996dc3f48..01e9730315d38de609721a2e58d39fcba16f61ee 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_;
willchan no longer on Chromium 2012/10/24 03:40:10 Move this earlier. The destruction order may matte
pauljensen 2012/10/24 19:19:00 By moving it earlier it will be destroyed *after*
DISALLOW_COPY_AND_ASSIGN(URLRequestContextStorage);
};

Powered by Google App Engine
This is Rietveld 408576698