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

Unified Diff: chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header 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: chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc
diff --git a/chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc b/chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc
index aa4983844d91915b53a15de5ee774736aa933496..a0a9299c9538d117cffb0f91814540b26f493283 100644
--- a/chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc
+++ b/chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc
@@ -145,7 +145,7 @@ void PasswordsPrivateDelegateImpl::ShowPassword(
}
void PasswordsPrivateDelegateImpl::SetPasswordList(
- const std::vector<scoped_ptr<autofill::PasswordForm>>& password_list) {
+ const std::vector<std::unique_ptr<autofill::PasswordForm>>& password_list) {
// Rebuild |login_pair_to_index_map_| so that it reflects the contents of the
// new list.
login_pair_to_index_map_.clear();
@@ -186,7 +186,7 @@ void PasswordsPrivateDelegateImpl::SendSavedPasswordsList() {
}
void PasswordsPrivateDelegateImpl::SetPasswordExceptionList(
- const std::vector<scoped_ptr<autofill::PasswordForm>>&
+ const std::vector<std::unique_ptr<autofill::PasswordForm>>&
password_exception_list) {
// Rebuild |exception_url_to_index_map_| so that it reflects the contents of
// the new list.

Powered by Google App Engine
This is Rietveld 408576698