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

Unified Diff: net/cookies/cookie_store_test_helpers.h

Issue 1893083002: Change scoped_ptr to std::unique_ptr in //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-net-all: iwyu Created 4 years, 8 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/cookies/cookie_store.h ('k') | net/cookies/cookie_store_test_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cookies/cookie_store_test_helpers.h
diff --git a/net/cookies/cookie_store_test_helpers.h b/net/cookies/cookie_store_test_helpers.h
index f0fe1f963d3a5333159dc07f73a33ab992869199..687261ec7bca110e53c67b2f38e8fa4c2ab7ed9a 100644
--- a/net/cookies/cookie_store_test_helpers.h
+++ b/net/cookies/cookie_store_test_helpers.h
@@ -89,9 +89,10 @@ class DelayedCookieMonster : public CookieStore {
void FlushStore(const base::Closure& callback) override;
- scoped_ptr<CookieStore::CookieChangedSubscription>
- AddCallbackForCookie(const GURL& url, const std::string& name,
- const CookieChangedCallback& callback) override;
+ std::unique_ptr<CookieStore::CookieChangedSubscription> AddCallbackForCookie(
+ const GURL& url,
+ const std::string& name,
+ const CookieChangedCallback& callback) override;
bool IsEphemeral() override;
@@ -116,7 +117,7 @@ class DelayedCookieMonster : public CookieStore {
friend class base::RefCountedThreadSafe<DelayedCookieMonster>;
- scoped_ptr<CookieMonster> cookie_monster_;
+ std::unique_ptr<CookieMonster> cookie_monster_;
bool did_run_;
bool result_;
« no previous file with comments | « net/cookies/cookie_store.h ('k') | net/cookies/cookie_store_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698