Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: components/autofill/core/browser/test_autofill_client.h

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses Sylvain's review comments. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(); }

Powered by Google App Engine
This is Rietveld 408576698