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

Unified Diff: net/url_request/url_request_context_storage.h

Issue 1290243007: Shift URLRequestContextStorage over to taking scoped_ptrs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Paul_BuilderGrab
Patch Set: Sync'd to revision p349162. Created 5 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
« no previous file with comments | « net/url_request/url_request_context_builder.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 fd3c4a263a97c60555e85736547d5279dd286bfe..8e2bf0eab3d8e885fe897376bdd0a497e1652025 100644
--- a/net/url_request/url_request_context_storage.h
+++ b/net/url_request/url_request_context_storage.h
@@ -45,27 +45,29 @@ class NET_EXPORT URLRequestContextStorage {
// These setters will set both the member variables and call the setter on the
// URLRequestContext object. In all cases, ownership is passed to |this|.
- void set_net_log(NetLog* net_log);
+ void set_net_log(scoped_ptr<NetLog> net_log);
void set_host_resolver(scoped_ptr<HostResolver> host_resolver);
- void set_cert_verifier(CertVerifier* cert_verifier);
+ void set_cert_verifier(scoped_ptr<CertVerifier> cert_verifier);
void set_channel_id_service(scoped_ptr<ChannelIDService> channel_id_service);
void set_http_auth_handler_factory(
- HttpAuthHandlerFactory* http_auth_handler_factory);
- void set_proxy_service(ProxyService* proxy_service);
+ scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory);
+ void set_proxy_service(scoped_ptr<ProxyService> proxy_service);
void set_ssl_config_service(SSLConfigService* ssl_config_service);
- void set_network_delegate(NetworkDelegate* network_delegate);
+ void set_network_delegate(scoped_ptr<NetworkDelegate> network_delegate);
void set_http_server_properties(
scoped_ptr<HttpServerProperties> http_server_properties);
void set_cookie_store(CookieStore* cookie_store);
void set_transport_security_state(
- TransportSecurityState* transport_security_state);
+ scoped_ptr<TransportSecurityState> transport_security_state);
void set_http_transaction_factory(
- HttpTransactionFactory* http_transaction_factory);
- void set_job_factory(URLRequestJobFactory* job_factory);
- void set_throttler_manager(URLRequestThrottlerManager* throttler_manager);
- void set_backoff_manager(URLRequestBackoffManager* backoff_manager);
+ scoped_ptr<HttpTransactionFactory> http_transaction_factory);
+ void set_job_factory(scoped_ptr<URLRequestJobFactory> job_factory);
+ void set_throttler_manager(
+ scoped_ptr<URLRequestThrottlerManager> throttler_manager);
+ void set_backoff_manager(
+ scoped_ptr<URLRequestBackoffManager> backoff_manager);
void set_http_user_agent_settings(
- HttpUserAgentSettings* http_user_agent_settings);
+ scoped_ptr<HttpUserAgentSettings> http_user_agent_settings);
void set_sdch_manager(scoped_ptr<SdchManager> sdch_manager);
private:
« no previous file with comments | « net/url_request/url_request_context_builder.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