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

Unified Diff: components/password_manager/core/browser/mock_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: Leaks fixed + VABR->vabr 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/mock_password_store.h
diff --git a/components/password_manager/core/browser/mock_password_store.h b/components/password_manager/core/browser/mock_password_store.h
index 4f62a7be55fa8be462e0fea6de7e7152aba022a5..0af74d67b9afd85ff4461a9262f517eb732d520e 100644
--- a/components/password_manager/core/browser/mock_password_store.h
+++ b/components/password_manager/core/browser/mock_password_store.h
@@ -41,9 +41,9 @@ class MockPasswordStore : public PasswordStore {
MOCK_METHOD1(GetAutofillableLoginsImpl, void(GetLoginsRequest*));
MOCK_METHOD1(GetBlacklistLoginsImpl, void(GetLoginsRequest*));
MOCK_METHOD1(FillAutofillableLogins,
- bool(std::vector<autofill::PasswordForm*>*));
+ bool(ScopedVector<autofill::PasswordForm>*));
MOCK_METHOD1(FillBlacklistLogins,
- bool(std::vector<autofill::PasswordForm*>*));
+ bool(ScopedVector<autofill::PasswordForm>*));
MOCK_METHOD1(NotifyLoginsChanged, void(const PasswordStoreChangeList&));
PasswordStoreSync* GetSyncInterface() { return this; }

Powered by Google App Engine
This is Rietveld 408576698