Index: components/autofill/core/browser/autofill_popup_delegate.h |
diff --git a/components/autofill/core/browser/autofill_popup_delegate.h b/components/autofill/core/browser/autofill_popup_delegate.h |
index 5a864242755b154a757e22e2d6b8315f20fb6f4c..6febbf91cfc9ad94f9eb4531c1bd3ce4f6048817 100644 |
--- a/components/autofill/core/browser/autofill_popup_delegate.h |
+++ b/components/autofill/core/browser/autofill_popup_delegate.h |
@@ -9,6 +9,8 @@ |
namespace autofill { |
+class AutofillDriver; |
+ |
// An interface for interaction with AutofillPopupController. Will be notified |
// of events by the controller. |
class AutofillPopupDelegate { |
@@ -46,6 +48,9 @@ class AutofillPopupDelegate { |
// Returns true if popup is for credit card. |
virtual bool IsCreditCardPopup() = 0; |
+ |
+ // Returns the associated AutofillDriver. |
+ virtual AutofillDriver* GetAutofillDriver() = 0; |
}; |
} // namespace autofill |