| 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 6ffcd7066c046bce89f975dae5fdf88b2e4afbaf..958517832cc37c3bef1e805a68ba32e281c06e4d 100644
|
| --- a/components/autofill/core/browser/autofill_client.h
|
| +++ b/components/autofill/core/browser/autofill_client.h
|
| @@ -26,6 +26,7 @@ class PrefService;
|
|
|
| namespace autofill {
|
|
|
| +class AutofillDriver;
|
| class AutofillPopupDelegate;
|
| class AutofillWebDataService;
|
| class CreditCard;
|
| @@ -80,9 +81,9 @@ class AutofillClient {
|
| // information to proceed.
|
| virtual void ShowUnmaskPrompt() = 0;
|
|
|
| - // Run |save_card_callback| if the credit card should be imported as personal
|
| - // data. |metric_logger| can be used to log user actions.
|
| + // Opens an infobar to prompt the user to save credit card details.
|
| virtual void ConfirmSaveCreditCard(
|
| + AutofillDriver* autofill_driver,
|
| const base::Closure& save_card_callback) = 0;
|
|
|
| // Returns true if both the platform and the device support scanning credit
|
|
|