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

Unified Diff: net/url_request/url_request_context_builder.h

Issue 1701063002: CookieStore: Remove reference counting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@threadsafe
Patch Set: Fix BrowsingDataRemover tests 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_builder.h
diff --git a/net/url_request/url_request_context_builder.h b/net/url_request/url_request_context_builder.h
index 1ee73b6f92f6d96bc94321c93b178366fe6c1777..b5ef9dcd66b2387032ef2fb4c6bc10e397a4e865 100644
--- a/net/url_request/url_request_context_builder.h
+++ b/net/url_request/url_request_context_builder.h
@@ -288,7 +288,7 @@ class NET_EXPORT URLRequestContextBuilder {
// multiple channel-id stores (or used both with and without a channel id
// store).
void SetCookieAndChannelIdStores(
- const scoped_refptr<CookieStore>& cookie_store,
+ scoped_ptr<CookieStore> cookie_store,
scoped_ptr<ChannelIDService> channel_id_service);
// Sets the task runner used to perform file operations. If not set, one will
@@ -339,7 +339,7 @@ class NET_EXPORT URLRequestContextBuilder {
scoped_ptr<ProxyService> proxy_service_;
scoped_ptr<NetworkDelegate> network_delegate_;
scoped_ptr<ProxyDelegate> proxy_delegate_;
- scoped_refptr<CookieStore> cookie_store_;
+ scoped_ptr<CookieStore> cookie_store_;
scoped_ptr<FtpTransactionFactory> ftp_transaction_factory_;
scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory_;
scoped_ptr<CertVerifier> cert_verifier_;

Powered by Google App Engine
This is Rietveld 408576698