| 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..42296e39a368789f1b5fd47a75bf84166180be22 100644
|
| --- a/components/autofill/core/browser/autofill_client.h
|
| +++ b/components/autofill/core/browser/autofill_client.h
|
| @@ -21,6 +21,10 @@ class Rect;
|
| class RectF;
|
| }
|
|
|
| +namespace infobars {
|
| +class InfoBarManager;
|
| +}
|
| +
|
| class GURL;
|
| class PrefService;
|
|
|
| @@ -80,11 +84,6 @@ 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.
|
| - virtual void ConfirmSaveCreditCard(
|
| - const base::Closure& save_card_callback) = 0;
|
| -
|
| // Returns true if both the platform and the device support scanning credit
|
| // cards. Should be called before ScanCreditCard().
|
| virtual bool HasCreditCardScanFeature() = 0;
|
| @@ -133,6 +132,9 @@ class AutofillClient {
|
|
|
| // Informs the client that a user gesture has been observed.
|
| virtual void OnFirstUserGestureObserved() = 0;
|
| +
|
| + // Returns the |InfoBarManager| instance associated with the client.
|
| + virtual infobars::InfoBarManager* GetInfoBarManager() = 0;
|
| };
|
|
|
| } // namespace autofill
|
|
|