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

Unified Diff: ios/chrome/browser/net/cookie_util.h

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add header 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
Index: ios/chrome/browser/net/cookie_util.h
diff --git a/ios/chrome/browser/net/cookie_util.h b/ios/chrome/browser/net/cookie_util.h
index 1f21f08c2d29e2b32bca2fb4159543a8538fd478..ad2e995ee879b2eb8256bfa5d8f180ac54a3eae7 100644
--- a/ios/chrome/browser/net/cookie_util.h
+++ b/ios/chrome/browser/net/cookie_util.h
@@ -74,7 +74,8 @@ struct CookieStoreConfig {
// Creates a cookie store wich is internally either a CookieMonster or a
// CookieStoreIOS.
-scoped_ptr<net::CookieStore> CreateCookieStore(const CookieStoreConfig& config);
+std::unique_ptr<net::CookieStore> CreateCookieStore(
+ const CookieStoreConfig& config);
// Returns true if the cookies should be cleared.
// Current implementation returns true if the device has rebooted since the

Powered by Google App Engine
This is Rietveld 408576698