Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: chrome/browser/autofill/autofill_manager_delegate.h

Issue 12378055: Make autofill stop depending on InfoBarService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplify test Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698