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

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

Issue 2026353002: [Autofill] Credit Card Assist Infobar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleaning 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/autofill_client.h
diff --git a/components/autofill/core/browser/autofill_client.h b/components/autofill/core/browser/autofill_client.h
index 354610bbcd112bfa29c3e1150feed3c81de259f7..d4756918bed47dc9d5f41224909a45fdae64fa27 100644
--- a/components/autofill/core/browser/autofill_client.h
+++ b/components/autofill/core/browser/autofill_client.h
@@ -132,6 +132,11 @@ class AutofillClient {
std::unique_ptr<base::DictionaryValue> legal_message,
const base::Closure& callback) = 0;
+ // Will show an infobar to get user consent for Credit Card assistive filling.
+ // Will run |callback| on success.
+ virtual void ConfirmCreditCardFillAssist(const CreditCard& card,
+ const base::Closure& callback) = 0;
+
// Gathers risk data and provides it to |callback|.
virtual void LoadRiskData(
const base::Callback<void(const std::string&)>& callback) = 0;

Powered by Google App Engine
This is Rietveld 408576698