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 b1994d1899d0079570fc64c037d468a21cd0444d..45a0c05ec90d1b91ece78a58251232237e18c3d8 100644 |
--- a/components/password_manager/core/browser/test_password_store.cc |
+++ b/components/password_manager/core/browser/test_password_store.cc |
@@ -37,6 +37,10 @@ bool TestPasswordStore::IsEmpty() const { |
return number_of_passwords == 0u; |
} |
+void TestPasswordStore::AddCredentials(const autofill::PasswordForm& form) { |
+ stored_passwords_[form.signon_realm].push_back(form); |
+} |
+ |
bool TestPasswordStore::FormsAreEquivalent(const autofill::PasswordForm& lhs, |
const autofill::PasswordForm& rhs) { |
return lhs.origin == rhs.origin && |