Index: components/autofill/core/browser/test_autofill_client.h |
diff --git a/components/autofill/core/browser/test_autofill_client.h b/components/autofill/core/browser/test_autofill_client.h |
index a809a8cd1f2330f2111cfa5cea1936c0740ffffc..7e3f243d0143dd1f69c78c0e5d89aa602333cb9a 100644 |
--- a/components/autofill/core/browser/test_autofill_client.h |
+++ b/components/autofill/core/browser/test_autofill_client.h |
@@ -11,6 +11,10 @@ |
#include "base/prefs/pref_service.h" |
#include "components/autofill/core/browser/autofill_client.h" |
+namespace infobars { |
+class InfoBarManager; |
+} |
+ |
namespace autofill { |
// This class is for easier writing of tests. |
@@ -26,7 +30,6 @@ class TestAutofillClient : public AutofillClient { |
void HideRequestAutocompleteDialog() override; |
void ShowAutofillSettings() override; |
void ShowUnmaskPrompt() override; |
- void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override; |
bool HasCreditCardScanFeature() override; |
void ScanCreditCard(const CreditCardScanCallback& callback) override; |
void ShowRequestAutocompleteDialog(const FormData& form, |
@@ -48,6 +51,7 @@ class TestAutofillClient : public AutofillClient { |
void DidFillOrPreviewField(const base::string16& autofilled_value, |
const base::string16& profile_full_name) override; |
void OnFirstUserGestureObserved() override; |
+ infobars::InfoBarManager* GetInfoBarManager() override; |
void SetPrefs(scoped_ptr<PrefService> prefs) { prefs_ = prefs.Pass(); } |