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

Unified Diff: components/password_manager/core/browser/login_database_unittest.cc

Issue 1852093002: components/password_manager: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and revert an accidental .proto change Created 4 years, 9 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: components/password_manager/core/browser/login_database_unittest.cc
diff --git a/components/password_manager/core/browser/login_database_unittest.cc b/components/password_manager/core/browser/login_database_unittest.cc
index 46ba8f57a7c0a9660551bc761989ed6b699580b0..8b1999ede9d43fe1e1f00f24b5de42b0c9718145 100644
--- a/components/password_manager/core/browser/login_database_unittest.cc
+++ b/components/password_manager/core/browser/login_database_unittest.cc
@@ -7,9 +7,10 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
+
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
#include "base/path_service.h"
#include "base/strings/string_number_conversions.h"
@@ -206,7 +207,7 @@ class LoginDatabaseTest : public testing::Test {
base::ScopedTempDir temp_dir_;
base::FilePath file_;
- scoped_ptr<LoginDatabase> db_;
+ std::unique_ptr<LoginDatabase> db_;
};
TEST_F(LoginDatabaseTest, Logins) {

Powered by Google App Engine
This is Rietveld 408576698