| Index: components/password_manager/core/browser/mock_affiliated_match_helper.h
|
| diff --git a/components/password_manager/core/browser/mock_affiliated_match_helper.h b/components/password_manager/core/browser/mock_affiliated_match_helper.h
|
| index b86d8f1aa51138d23ac3949efb010e014a80ed42..c0cc814e573f4327c21d320f1ca1ac70b3cf8beb 100644
|
| --- a/components/password_manager/core/browser/mock_affiliated_match_helper.h
|
| +++ b/components/password_manager/core/browser/mock_affiliated_match_helper.h
|
| @@ -35,11 +35,15 @@ class MockAffiliatedMatchHelper : public AffiliatedMatchHelper {
|
| const autofill::PasswordForm& expected_android_form,
|
| const std::vector<std::string>& results_to_return);
|
|
|
| + void ExpectCallToInjectAffiliatedWebRealms(
|
| + const std::vector<std::string>& results_to_inject);
|
| +
|
| private:
|
| MOCK_METHOD1(OnGetAffiliatedAndroidRealmsCalled,
|
| std::vector<std::string>(const autofill::PasswordForm&));
|
| MOCK_METHOD1(OnGetAffiliatedWebRealmsCalled,
|
| std::vector<std::string>(const autofill::PasswordForm&));
|
| + MOCK_METHOD0(OnInjectAffiliatedWebRealmsCalled, std::vector<std::string>());
|
|
|
| void GetAffiliatedAndroidRealms(
|
| const autofill::PasswordForm& observed_form,
|
| @@ -48,6 +52,10 @@ class MockAffiliatedMatchHelper : public AffiliatedMatchHelper {
|
| const autofill::PasswordForm& android_form,
|
| const AffiliatedRealmsCallback& result_callback) override;
|
|
|
| + void InjectAffiliatedWebRealms(
|
| + ScopedVector<autofill::PasswordForm> forms,
|
| + const PasswordFormsCallback& result_callback) override;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(MockAffiliatedMatchHelper);
|
| };
|
|
|
|
|