Index: components/password_manager/core/browser/password_store_factory_util.h |
diff --git a/components/password_manager/core/browser/password_store_factory_util.h b/components/password_manager/core/browser/password_store_factory_util.h |
index 2626618926ba6aae98d43a52f702a4321d87f014..94b9957c1115f3bba9906ae33f4e7ced2043789f 100644 |
--- a/components/password_manager/core/browser/password_store_factory_util.h |
+++ b/components/password_manager/core/browser/password_store_factory_util.h |
@@ -5,9 +5,10 @@ |
#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_FACTORY_UTIL_H_ |
#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_FACTORY_UTIL_H_ |
+#include <memory> |
+ |
#include "base/files/file_path.h" |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/single_thread_task_runner.h" |
#include "components/keyed_service/core/keyed_service.h" |
#include "components/keyed_service/core/service_access_type.h" |
@@ -44,7 +45,7 @@ void TrimOrDeleteAffiliationCacheForStoreAndPath( |
// Creates a LoginDatabase. Looks in |profile_path| for the database file. |
// Does not call LoginDatabase::Init() -- to avoid UI jank, that needs to be |
// called by PasswordStore::Init() on the background thread. |
-scoped_ptr<LoginDatabase> CreateLoginDatabase( |
+std::unique_ptr<LoginDatabase> CreateLoginDatabase( |
const base::FilePath& profile_path); |
} // namespace password_manager |