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

Unified Diff: chrome/browser/profiles/profile_io_data.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 | « chrome/browser/profiles/profile_io_data.h ('k') | chrome/browser/safe_browsing/safe_browsing_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index f34a67baecad18a1404ff542d4a169d898ef6a04..57f2fd3511f97fca178de549e2a4993c0fe66eb2 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -568,9 +568,9 @@ ProfileIOData::AppRequestContext::AppRequestContext() {
}
void ProfileIOData::AppRequestContext::SetCookieStore(
- net::CookieStore* cookie_store) {
- cookie_store_ = cookie_store;
- set_cookie_store(cookie_store);
+ scoped_ptr<net::CookieStore> cookie_store) {
+ cookie_store_ = std::move(cookie_store);
+ set_cookie_store(cookie_store_.get());
}
void ProfileIOData::AppRequestContext::SetHttpTransactionFactory(
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | chrome/browser/safe_browsing/safe_browsing_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698