| Index: chrome/browser/autofill/autofill_manager.h
|
| ===================================================================
|
| --- chrome/browser/autofill/autofill_manager.h (revision 51878)
|
| +++ chrome/browser/autofill/autofill_manager.h (working copy)
|
| @@ -15,6 +15,7 @@
|
| #include "chrome/browser/autofill/personal_data_manager.h"
|
| #include "chrome/browser/renderer_host/render_view_host_delegate.h"
|
|
|
| +class AutoFillCCInfoBarDelegate;
|
| class AutoFillProfile;
|
| class CreditCard;
|
| class FormStructure;
|
| @@ -56,6 +57,10 @@
|
| const string16& label);
|
| virtual void ShowAutoFillDialog();
|
|
|
| + // Called by the AutoFillCCInfoBarDelegate when the user interacts with the
|
| + // infobar.
|
| + virtual void OnInfoBarClosed(bool should_save);
|
| +
|
| // Resets the stored form data.
|
| virtual void Reset();
|
|
|
| @@ -154,6 +159,9 @@
|
| // The form data the user has submitted.
|
| scoped_ptr<FormStructure> upload_form_structure_;
|
|
|
| + // The InfoBar that asks for permission to store credit card information.
|
| + scoped_ptr<AutoFillCCInfoBarDelegate> cc_infobar_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(AutoFillManager);
|
| };
|
|
|
|
|