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

Unified Diff: net/url_request/url_request_context.cc

Issue 1701063002: CookieStore: Remove reference counting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@threadsafe
Patch Set: merge Created 4 years, 9 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.h ('k') | net/url_request/url_request_context_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context.cc
diff --git a/net/url_request/url_request_context.cc b/net/url_request/url_request_context.cc
index e9ab617dd583d881932a7b80f17efc0a80ba9d6e..3f4f55add90d464b10f50f1f4e30739a85daf3f3 100644
--- a/net/url_request/url_request_context.cc
+++ b/net/url_request/url_request_context.cc
@@ -25,6 +25,7 @@ URLRequestContext::URLRequestContext()
proxy_service_(nullptr),
network_delegate_(nullptr),
http_user_agent_settings_(nullptr),
+ cookie_store_(nullptr),
transport_security_state_(nullptr),
cert_transparency_verifier_(nullptr),
http_transaction_factory_(nullptr),
@@ -33,8 +34,7 @@ URLRequestContext::URLRequestContext()
backoff_manager_(nullptr),
sdch_manager_(nullptr),
network_quality_estimator_(nullptr),
- url_requests_(new std::set<const URLRequest*>) {
-}
+ url_requests_(new std::set<const URLRequest*>) {}
URLRequestContext::~URLRequestContext() {
AssertNoURLRequests();
@@ -51,7 +51,7 @@ void URLRequestContext::CopyFrom(const URLRequestContext* other) {
set_ssl_config_service(other->ssl_config_service_.get());
set_network_delegate(other->network_delegate_);
set_http_server_properties(other->http_server_properties_);
- set_cookie_store(other->cookie_store_.get());
+ set_cookie_store(other->cookie_store_);
set_transport_security_state(other->transport_security_state_);
set_cert_transparency_verifier(other->cert_transparency_verifier_);
set_http_transaction_factory(other->http_transaction_factory_);
« no previous file with comments | « net/url_request/url_request_context.h ('k') | net/url_request/url_request_context_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698