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

Unified Diff: net/url_request/url_request_context_storage.h

Issue 1701063002: CookieStore: Remove reference counting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@threadsafe
Patch Set: Small fix Created 4 years, 10 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 f05e186001fbbd57d2e6497efc3da02cc8346060..bc6981eef10cf2eb495e87755de00a3dd05370c5 100644
--- a/net/url_request/url_request_context_storage.h
+++ b/net/url_request/url_request_context_storage.h
@@ -57,7 +57,7 @@ class NET_EXPORT URLRequestContextStorage {
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_cookie_store(scoped_ptr<CookieStore> cookie_store);
void set_transport_security_state(
scoped_ptr<TransportSecurityState> transport_security_state);
void set_http_network_session(
@@ -98,7 +98,7 @@ class NET_EXPORT URLRequestContextStorage {
scoped_ptr<NetworkDelegate> network_delegate_;
scoped_ptr<HttpServerProperties> http_server_properties_;
scoped_ptr<HttpUserAgentSettings> http_user_agent_settings_;
- scoped_refptr<CookieStore> cookie_store_;
+ scoped_ptr<CookieStore> cookie_store_;
scoped_ptr<TransportSecurityState> transport_security_state_;
// Not actually pointed at by the URLRequestContext, but may be used (but not

Powered by Google App Engine
This is Rietveld 408576698