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

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

Issue 2026353002: [Autofill] Credit Card Assist Infobar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove std::move Created 4 years, 4 months 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 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");

Powered by Google App Engine
This is Rietveld 408576698