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

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

Issue 825773003: PasswordStore: Use ScopedVector to express ownership of forms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use assignment instead of construction Created 5 years, 11 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/password_store_default.h
diff --git a/components/password_manager/core/browser/password_store_default.h b/components/password_manager/core/browser/password_store_default.h
index faaebec1a837e148ad5294ae71cc458ac8eccf14..2bb234051b8f762130228988a604a3c18a718ca9 100644
--- a/components/password_manager/core/browser/password_store_default.h
+++ b/components/password_manager/core/browser/password_store_default.h
@@ -56,9 +56,9 @@ class PasswordStoreDefault : public PasswordStore {
void GetAutofillableLoginsImpl(GetLoginsRequest* request) override;
void GetBlacklistLoginsImpl(GetLoginsRequest* request) override;
bool FillAutofillableLogins(
- std::vector<autofill::PasswordForm*>* forms) override;
+ ScopedVector<autofill::PasswordForm>* forms) override;
bool FillBlacklistLogins(
- std::vector<autofill::PasswordForm*>* forms) override;
+ ScopedVector<autofill::PasswordForm>* forms) override;
protected:
inline bool DeleteAndRecreateDatabaseFile() {

Powered by Google App Engine
This is Rietveld 408576698