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

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

Issue 1540423004: Add card details and legal message to Android save credit card infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initial draft Created 5 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/autofill_client.h
diff --git a/components/autofill/core/browser/autofill_client.h b/components/autofill/core/browser/autofill_client.h
index a1faf806503048b97230ab5c6003e3fa94b993da..58b2913fea8527206d7b87cbc9db470134e97aad 100644
--- a/components/autofill/core/browser/autofill_client.h
+++ b/components/autofill/core/browser/autofill_client.h
@@ -120,12 +120,14 @@ class AutofillClient {
// Runs |callback| if the credit card should be imported as personal
// data. |metric_logger| can be used to log user actions.
- virtual void ConfirmSaveCreditCardLocally(const base::Closure& callback) = 0;
+ virtual void ConfirmSaveCreditCardLocally(const base::Closure& callback,
+ const CreditCard& card) = 0;
Justin Donnelly 2015/12/30 18:06:37 You'll need to also make these changes to aw_autof
please use gerrit instead 2016/01/07 01:39:25 Done.
// Runs |callback| if the credit card should be uploaded to Payments. Displays
// the contents of |legal_message| to the user.
virtual void ConfirmSaveCreditCardToCloud(
const base::Closure& callback,
+ const CreditCard& card,
scoped_ptr<base::DictionaryValue> legal_message) = 0;
// Gathers risk data and provides it to |callback|.

Powered by Google App Engine
This is Rietveld 408576698