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

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: bool fix Created 4 years, 5 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..815680250c86c804e452ce1c518603646b12e102 100644
--- a/components/autofill/core/browser/autofill_client.h
+++ b/components/autofill/core/browser/autofill_client.h
@@ -41,6 +41,7 @@ class PrefService;
namespace autofill {
class AutofillPopupDelegate;
+class AutofillProfile;
please use gerrit instead 2016/07/29 16:33:20 Not used anywhere in this file.
Mathieu 2016/07/29 20:19:17 Done.
class AutofillWebDataService;
class CardUnmaskDelegate;
class CreditCard;
@@ -132,6 +133,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