Chromium Code Reviews| 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..3ace4a1beafc7f897c2aee08a6ed5951c1153017 100644 |
| --- a/chrome/browser/autofill/autofill_manager_delegate.h |
| +++ b/chrome/browser/autofill/autofill_manager_delegate.h |
| @@ -27,6 +27,7 @@ class RectF; |
| class AutofillMetrics; |
| class AutofillPopupDelegate; |
| +class CreditCard; |
| class FormStructure; |
| class GURL; |
| class InfoBarService; |
| @@ -57,9 +58,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 +82,12 @@ class AutofillManagerDelegate { |
| // Causes the Autofill settings UI to be shown. |
| virtual void ShowAutofillSettings() = 0; |
| + // Run |import_callback| if the credit card should be imported as personal |
| + // data. |metric_logger| can be used to log user actions. |
| + virtual void ConfirmImportCC(const AutofillMetrics& metric_logger, |
|
Ilya Sherman
2013/03/06 09:13:24
nit: Please name this something closer to "Confirm
kaiwang
2013/03/06 18:25:04
Done.
|
| + const CreditCard& credit_card, |
| + const base::Closure& import_callback) = 0; |
| + |
| // Causes the password generation bubble UI to be shown using the |
| // specified form with the given bounds. |
| virtual void ShowPasswordGenerationBubble( |