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

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: rebase? 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..73197e78f8880c4724c42414e1df0712c70bef97 100644
--- a/ios/chrome/browser/net/cookie_util.h
+++ b/ios/chrome/browser/net/cookie_util.h
@@ -5,6 +5,8 @@
#ifndef IOS_CHROME_BROWSER_NET_COOKIE_UTIL_H_
#define IOS_CHROME_BROWSER_NET_COOKIE_UTIL_H_
+#include <memory>
+
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
#include "net/cookies/canonical_cookie.h"
@@ -74,7 +76,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
« no previous file with comments | « ios/chrome/browser/metrics/mobile_session_shutdown_metrics_provider_unittest.mm ('k') | ios/chrome/browser/net/cookie_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698