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

Unified Diff: components/password_manager/core/browser/test_password_store.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/test_password_store.h
diff --git a/components/password_manager/core/browser/test_password_store.h b/components/password_manager/core/browser/test_password_store.h
index c7f661d526e176bf268c14d2e78eb0e2642043f3..dd549aa8dc4ee92fd18009d150e59ce735f4ed02 100644
--- a/components/password_manager/core/browser/test_password_store.h
+++ b/components/password_manager/core/browser/test_password_store.h
@@ -65,9 +65,9 @@ class TestPasswordStore : public PasswordStore {
void GetBlacklistLoginsImpl(
PasswordStore::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;
private:
PasswordMap stored_passwords_;

Powered by Google App Engine
This is Rietveld 408576698