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

Unified Diff: chrome/browser/password_manager/update_password_infobar_delegate_android.h

Issue 2253233005: Change ScopedVector to vector<unique_ptr> in the password's UI code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android+ Created 4 years, 4 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/password_manager/update_password_infobar_delegate_android.h
diff --git a/chrome/browser/password_manager/update_password_infobar_delegate_android.h b/chrome/browser/password_manager/update_password_infobar_delegate_android.h
index bb238b202552d80840b1f22e567539d69179f664..94440327d001bb25f6f9475140452e7c9a938f0a 100644
--- a/chrome/browser/password_manager/update_password_infobar_delegate_android.h
+++ b/chrome/browser/password_manager/update_password_infobar_delegate_android.h
@@ -40,7 +40,8 @@ class UpdatePasswordInfoBarDelegate : public PasswordManagerInfoBarDelegate {
// credential is being affected.
bool ShowMultipleAccounts() const;
- const std::vector<const autofill::PasswordForm*>& GetCurrentForms() const;
+ const std::vector<std::unique_ptr<autofill::PasswordForm>>&
+ GetCurrentForms() const;
// Returns the username of the saved credentials in the case when there is
// only one credential pair stored.

Powered by Google App Engine
This is Rietveld 408576698