| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_MOCK_PASSWORD_MANAGER_DRIVER_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_MOCK_PASSWORD_MANAGER_DRIVER_H_ |
| 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_MOCK_PASSWORD_MANAGER_DRIVER_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_MOCK_PASSWORD_MANAGER_DRIVER_H_ |
| 7 | 7 |
| 8 #include "components/autofill/core/browser/autofill_manager.h" | 8 #include "components/autofill/core/browser/autofill_manager.h" |
| 9 #include "components/autofill/core/common/form_data.h" | 9 #include "components/autofill/core/common/form_data.h" |
| 10 #include "components/autofill/core/common/password_form.h" | 10 #include "components/autofill/core/common/password_form.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 MOCK_METHOD1(FillPasswordForm, void(const autofill::PasswordFormFillData&)); | 25 MOCK_METHOD1(FillPasswordForm, void(const autofill::PasswordFormFillData&)); |
| 26 MOCK_METHOD0(DidLastPageLoadEncounterSSLErrors, bool()); | 26 MOCK_METHOD0(DidLastPageLoadEncounterSSLErrors, bool()); |
| 27 MOCK_METHOD0(IsOffTheRecord, bool()); | 27 MOCK_METHOD0(IsOffTheRecord, bool()); |
| 28 MOCK_METHOD0(GetPasswordGenerationManager, PasswordGenerationManager*()); | 28 MOCK_METHOD0(GetPasswordGenerationManager, PasswordGenerationManager*()); |
| 29 MOCK_METHOD0(GetPasswordManager, PasswordManager*()); | 29 MOCK_METHOD0(GetPasswordManager, PasswordManager*()); |
| 30 MOCK_METHOD0(GetAutofillManager, autofill::AutofillManager*()); | 30 MOCK_METHOD0(GetAutofillManager, autofill::AutofillManager*()); |
| 31 MOCK_METHOD0(GetPasswordAutofillManager, PasswordAutofillManager*()); | 31 MOCK_METHOD0(GetPasswordAutofillManager, PasswordAutofillManager*()); |
| 32 MOCK_METHOD1(AllowPasswordGenerationForForm, void(autofill::PasswordForm*)); | 32 MOCK_METHOD1(AllowPasswordGenerationForForm, void(autofill::PasswordForm*)); |
| 33 MOCK_METHOD1(AccountCreationFormsFound, | 33 MOCK_METHOD1(AccountCreationFormsFound, |
| 34 void(const std::vector<autofill::FormData>&)); | 34 void(const std::vector<autofill::FormData>&)); |
| 35 MOCK_METHOD2(AcceptPasswordAutofillSuggestion, | 35 MOCK_METHOD2(FillSuggestion, |
| 36 void(const base::string16&, const base::string16&)); | 36 void(const base::string16&, const base::string16&)); |
| 37 MOCK_METHOD2(PreviewSuggestion, |
| 38 void(const base::string16&, const base::string16&)); |
| 39 MOCK_METHOD0(ClearPreviewedForm, void()); |
| 37 }; | 40 }; |
| 38 | 41 |
| 39 } // namespace password_manager | 42 } // namespace password_manager |
| 40 | 43 |
| 41 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_MOCK_PASSWORD_MANAGER_DRIVER
_H_ | 44 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_MOCK_PASSWORD_MANAGER_DRIVER
_H_ |
| OLD | NEW |