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

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: Return nullptr for CreateInfoBar() in test_autofill_client.cc. 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 6a2b1aec4e9250f79b6a5d7f935c8bfbfcacfaa4..d492f619c216968fc98efbeb060ba58a2169b5ae 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 {
@@ -32,6 +35,7 @@ void TestAutofillClient::ShowAutofillSettings() {
}
void TestAutofillClient::ConfirmSaveCreditCard(
+ AutofillManager* autofill_manager,
const AutofillMetrics& metric_logger,
const base::Closure& save_card_callback) {
}
@@ -81,4 +85,9 @@ void TestAutofillClient::DidFillOrPreviewField(
const base::string16& profile_full_name) {
}
+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