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

Unified Diff: components/password_manager/core/browser/affiliation_database.h

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/affiliation_database.h
diff --git a/components/password_manager/core/browser/affiliation_database.h b/components/password_manager/core/browser/affiliation_database.h
index 621add9cd0c416d0779135912bf24539c1b31401..c9b418c5553a5c0fd6d4e9156c7593cf4b1d74a1 100644
--- a/components/password_manager/core/browser/affiliation_database.h
+++ b/components/password_manager/core/browser/affiliation_database.h
@@ -5,8 +5,9 @@
#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_DATABASE_H_
#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_DATABASE_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "components/password_manager/core/browser/affiliation_utils.h"
@@ -82,7 +83,7 @@ class AffiliationDatabase {
void SQLErrorCallback(int error_number, sql::Statement* statement);
// The SQL connection to the database.
- scoped_ptr<sql::Connection> sql_connection_;
+ std::unique_ptr<sql::Connection> sql_connection_;
DISALLOW_COPY_AND_ASSIGN(AffiliationDatabase);
};

Powered by Google App Engine
This is Rietveld 408576698