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

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: Address comments 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 5547d3bf4476fb66569a7fe8583495ed479c4251..4d8878b38bb322e689af76781c0768e52d82c322 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;
@@ -90,6 +88,13 @@ class AutofillManagerDelegate {
// Causes the Autofill settings UI to be shown.
virtual void ShowAutofillSettings() = 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 AutofillMetrics& metric_logger,
+ const CreditCard& credit_card,
+ const base::Closure& save_card_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