| Index: chrome/browser/autofill/autofill_manager_delegate.h
|
| diff --git a/chrome/browser/autofill/autofill_manager_delegate.h b/chrome/browser/autofill/autofill_manager_delegate.h
|
| index f90835283a13cb8a5a6fcd9b0144f615f4a8f037..5158696d0c7583c67ab76f62244ee0f1a20e8b99 100644
|
| --- a/chrome/browser/autofill/autofill_manager_delegate.h
|
| +++ b/chrome/browser/autofill/autofill_manager_delegate.h
|
| @@ -8,6 +8,7 @@
|
| #include <vector>
|
|
|
| #include "base/callback_forward.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "base/string16.h"
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| @@ -38,6 +39,8 @@ struct FormData;
|
|
|
| namespace autofill {
|
|
|
| +class AutofillCCImportConfirmationDelegate;
|
| +
|
| enum DialogType {
|
| // Autofill dialog for the Autocheckout feature.
|
| DIALOG_TYPE_AUTOCHECKOUT,
|
| @@ -57,9 +60,6 @@ class AutofillManagerDelegate {
|
| public:
|
| virtual ~AutofillManagerDelegate() {}
|
|
|
| - // Gets the infobar service associated with the delegate.
|
| - virtual InfoBarService* GetInfoBarService() = 0;
|
| -
|
| // Gets the PersonalDataManager instance associated with the delegate.
|
| virtual PersonalDataManager* GetPersonalDataManager() = 0;
|
|
|
| @@ -84,6 +84,13 @@ class AutofillManagerDelegate {
|
| // Causes the Autofill settings UI to be shown.
|
| virtual void ShowAutofillSettings() = 0;
|
|
|
| + // Shows the confirmation UI asking user whether the credit card information
|
| + // should be imported (in the form of a confirmation dialog, a chrome
|
| + // infobar, etc...).
|
| + // Note. Ownership of the parameter is passed to the method.
|
| + virtual void ShowAutofillCCImportConfirmation(
|
| + scoped_ptr<AutofillCCImportConfirmationDelegate> delegate) = 0;
|
| +
|
| // Causes the password generation bubble UI to be shown using the
|
| // specified form with the given bounds.
|
| virtual void ShowPasswordGenerationBubble(
|
|
|