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

Unified Diff: components/autofill/core/common/password_form.h

Issue 1859453002: components/autofill: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed 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: components/autofill/core/common/password_form.h
diff --git a/components/autofill/core/common/password_form.h b/components/autofill/core/common/password_form.h
index 2ae86b8aad55d662ec0a6c03c6777c8b04f00f2f..e28d3b83e0e3094fe0c32b68a6d1e5693281df32 100644
--- a/components/autofill/core/common/password_form.h
+++ b/components/autofill/core/common/password_form.h
@@ -6,10 +6,10 @@
#define COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__
#include <map>
+#include <memory>
#include <string>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "components/autofill/core/common/form_data.h"
#include "url/gurl.h"
@@ -303,7 +303,7 @@ struct LessThanUniqueKey {
};
// Map username to PasswordForm* for convenience. See password_form_manager.h.
-using PasswordFormMap = std::map<base::string16, scoped_ptr<PasswordForm>>;
+using PasswordFormMap = std::map<base::string16, std::unique_ptr<PasswordForm>>;
// Like PasswordFormMap, but with weak (not owned) pointers.
using ConstPasswordFormMap = std::map<base::string16, const PasswordForm*>;
« no previous file with comments | « components/autofill/core/common/autofill_regexes.cc ('k') | components/autofill/core/common/password_form_fill_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698