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

Unified Diff: components/password_manager/core/browser/test_password_store.cc

Issue 906973007: PasswordStore: Clean up expectations about rewriting vectors of forms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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.cc
diff --git a/components/password_manager/core/browser/test_password_store.cc b/components/password_manager/core/browser/test_password_store.cc
index f38f8ed3ad188d34df61ad37fd047cf23f9d7089..6de51f03ae76366e0a218988a89dbfe4ba50dea1 100644
--- a/components/password_manager/core/browser/test_password_store.cc
+++ b/components/password_manager/core/browser/test_password_store.cc
@@ -131,11 +131,13 @@ void TestPasswordStore::GetBlacklistLoginsImpl(
bool TestPasswordStore::FillAutofillableLogins(
ScopedVector<autofill::PasswordForm>* forms) {
+ forms->clear();
return true;
}
bool TestPasswordStore::FillBlacklistLogins(
ScopedVector<autofill::PasswordForm>* forms) {
+ forms->clear();
return true;
}

Powered by Google App Engine
This is Rietveld 408576698