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..baf9a9052427d5e2f4a55c7ca84714e3727a6749 100644 |
--- a/components/autofill/core/browser/autofill_client.h |
+++ b/components/autofill/core/browser/autofill_client.h |
@@ -118,15 +118,17 @@ class AutofillClient { |
base::WeakPtr<CardUnmaskDelegate> delegate) = 0; |
virtual void OnUnmaskVerificationResult(PaymentsRpcResult result) = 0; |
- // 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; |
+ // Runs |callback| if the |card| should be imported as personal data. |
+ // |metric_logger| can be used to log user actions. |
+ virtual void ConfirmSaveCreditCardLocally(const CreditCard& card, |
+ const base::Closure& callback) = 0; |
- // Runs |callback| if the credit card should be uploaded to Payments. Displays |
- // the contents of |legal_message| to the user. |
+ // Runs |callback| if the |card| should be uploaded to Payments. Displays the |
+ // contents of |legal_message| to the user. |
virtual void ConfirmSaveCreditCardToCloud( |
- const base::Closure& callback, |
- scoped_ptr<base::DictionaryValue> legal_message) = 0; |
+ const CreditCard& card, |
+ scoped_ptr<base::DictionaryValue> legal_message, |
+ const base::Closure& callback) = 0; |
// Gathers risk data and provides it to |callback|. |
virtual void LoadRiskData( |