Index: components/password_manager/core/browser/password_manager_unittest.cc |
diff --git a/components/password_manager/core/browser/password_manager_unittest.cc b/components/password_manager/core/browser/password_manager_unittest.cc |
index 44a5f39e2b82191bd212f02f2f787ddf48252443..6c0ec18a07197443dd4ea2f8ce8a300bec8c61c5 100644 |
--- a/components/password_manager/core/browser/password_manager_unittest.cc |
+++ b/components/password_manager/core/browser/password_manager_unittest.cc |
@@ -66,6 +66,9 @@ class MockPasswordManagerDriver : public PasswordManagerDriver { |
MOCK_METHOD1(AllowPasswordGenerationForForm, void(autofill::PasswordForm*)); |
MOCK_METHOD1(AccountCreationFormsFound, |
void(const std::vector<autofill::FormData>&)); |
+ MOCK_METHOD2(AcceptPasswordAutofillSuggestion, |
+ void(const base::string16&, const base::string16&)); |
+ MOCK_METHOD0(GetPasswordAutofillManager, PasswordAutofillManager*()); |
Ilya Sherman
2014/03/18 00:14:27
nit: Unneeded?
Patrick Dubroy
2014/03/28 15:44:22
Yes, pure virtuals. Will fix in a future CL as men
|
}; |
ACTION_P(InvokeConsumer, forms) { arg0->OnGetPasswordStoreResults(forms); } |