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

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

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. 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.cc
diff --git a/components/autofill/core/browser/test_autofill_client.cc b/components/autofill/core/browser/test_autofill_client.cc
index 3ad10a8c2a5f87b05b4de6c60ca8396019f9a59e..cbe6c89d93ed0e1befb6efb16f09ceedccb4cb43 100644
--- a/components/autofill/core/browser/test_autofill_client.cc
+++ b/components/autofill/core/browser/test_autofill_client.cc
@@ -4,7 +4,10 @@
#include "components/autofill/core/browser/test_autofill_client.h"
+#include "components/autofill/core/browser/autofill_manager.h"
#include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
+#include "components/infobars/core/confirm_infobar_delegate.h"
+#include "components/infobars/core/infobar.h"
namespace autofill {
@@ -35,6 +38,7 @@ void TestAutofillClient::ShowUnmaskPrompt() {
}
void TestAutofillClient::ConfirmSaveCreditCard(
+ AutofillManager* autofill_manager,
const base::Closure& save_card_callback) {
}
@@ -87,4 +91,9 @@ void TestAutofillClient::DidFillOrPreviewField(
void TestAutofillClient::OnFirstUserGestureObserved() {
}
+scoped_ptr<infobars::InfoBar> TestAutofillClient::CreateInfoBar(
+ scoped_ptr<ConfirmInfoBarDelegate> delegate) {
+ return scoped_ptr<infobars::InfoBar>(nullptr);
+}
+
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698