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

Unified Diff: ios/chrome/browser/passwords/ios_chrome_password_store_factory.cc

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/passwords/ios_chrome_password_store_factory.cc
diff --git a/ios/chrome/browser/passwords/ios_chrome_password_store_factory.cc b/ios/chrome/browser/passwords/ios_chrome_password_store_factory.cc
index ff692d785e3a68c86954a2d7899ad8c7dec89b50..e2c3ff688f7c4e99ea63af574a9805ef0e821f40 100644
--- a/ios/chrome/browser/passwords/ios_chrome_password_store_factory.cc
+++ b/ios/chrome/browser/passwords/ios_chrome_password_store_factory.cc
@@ -4,6 +4,7 @@
#include "ios/chrome/browser/passwords/ios_chrome_password_store_factory.h"
+#include <memory>
#include <utility>
#include "base/command_line.h"
@@ -73,7 +74,7 @@ IOSChromePasswordStoreFactory::~IOSChromePasswordStoreFactory() {}
scoped_refptr<RefcountedKeyedService>
IOSChromePasswordStoreFactory::BuildServiceInstanceFor(
web::BrowserState* context) const {
- scoped_ptr<password_manager::LoginDatabase> login_db(
+ std::unique_ptr<password_manager::LoginDatabase> login_db(
password_manager::CreateLoginDatabase(context->GetStatePath()));
scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner(

Powered by Google App Engine
This is Rietveld 408576698