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

Unified Diff: chrome/browser/ui/passwords/passwords_model_delegate.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/ui/passwords/passwords_model_delegate.h
diff --git a/chrome/browser/ui/passwords/passwords_model_delegate.h b/chrome/browser/ui/passwords/passwords_model_delegate.h
index fa99936ce33851c50d8c316f696a12a716f0dfee..2c560d465f214a4bc3493a1e87e2ac60ddb25783 100644
--- a/chrome/browser/ui/passwords/passwords_model_delegate.h
+++ b/chrome/browser/ui/passwords/passwords_model_delegate.h
@@ -46,11 +46,11 @@ class PasswordsModelDelegate {
virtual bool IsPasswordOverridden() const = 0;
// Returns current local forms for the current page.
- virtual const std::vector<const autofill::PasswordForm*>&
+ virtual const std::vector<std::unique_ptr<autofill::PasswordForm>>&
GetCurrentForms() const = 0;
// Returns possible identity provider's credentials for the current site.
- virtual const std::vector<const autofill::PasswordForm*>&
+ virtual const std::vector<std::unique_ptr<autofill::PasswordForm>>&
GetFederatedForms() const = 0;
// For PENDING_PASSWORD_STATE state returns the current statistics for

Powered by Google App Engine
This is Rietveld 408576698