| Index: components/autofill/core/browser/test_autofill_client.cc
|
| diff --git a/components/autofill/core/browser/test_autofill_client.cc b/components/autofill/core/browser/test_autofill_client.cc
|
| index 647696cd17d0849425a5ba191b8ae85cb5727383..e3a4d47d14df3473fe07e5ca3f6fb1a9332fd34a 100644
|
| --- a/components/autofill/core/browser/test_autofill_client.cc
|
| +++ b/components/autofill/core/browser/test_autofill_client.cc
|
| @@ -6,6 +6,10 @@
|
|
|
| #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
|
|
|
| +#if defined(OS_ANDROID)
|
| +#include "components/infobars/core/infobar.h"
|
| +#endif
|
| +
|
| namespace autofill {
|
|
|
| TestAutofillClient::TestAutofillClient()
|
| @@ -66,6 +70,20 @@ void TestAutofillClient::ConfirmSaveCreditCardToCloud(
|
| callback.Run();
|
| }
|
|
|
| +void TestAutofillClient::ConfirmCreditCardFillAssist(
|
| + const CreditCard& card,
|
| + const base::Closure& callback) {
|
| + callback.Run();
|
| +}
|
| +
|
| +#if defined(OS_ANDROID)
|
| +std::unique_ptr<infobars::InfoBar>
|
| +TestAutofillClient::CreateCreditCardFillingInfoBar(
|
| + std::unique_ptr<AutofillCreditCardFillingInfoBarDelegateMobile> delegate) {
|
| + return std::unique_ptr<infobars::InfoBar>();
|
| +}
|
| +#endif
|
| +
|
| void TestAutofillClient::LoadRiskData(
|
| const base::Callback<void(const std::string&)>& callback) {
|
| callback.Run("some risk data");
|
|
|