Index: components/autofill/core/browser/autofill_manager_delegate.h |
diff --git a/components/autofill/core/browser/autofill_manager_delegate.h b/components/autofill/core/browser/autofill_manager_delegate.h |
index 833f1b4600ed75516ea1c3beca21553b5a4f1126..4347c2c740ab61bcba6a5f15ac838a24026f3427 100644 |
--- a/components/autofill/core/browser/autofill_manager_delegate.h |
+++ b/components/autofill/core/browser/autofill_manager_delegate.h |
@@ -25,6 +25,7 @@ namespace autofill { |
class AutofillMetrics; |
class AutofillPopupDelegate; |
+class AutofillWebDataService; |
class CreditCard; |
class FormStructure; |
class PasswordGenerator; |
@@ -47,6 +48,9 @@ class AutofillManagerDelegate { |
// Gets the PersonalDataManager instance associated with the delegate. |
virtual PersonalDataManager* GetPersonalDataManager() = 0; |
+ // Gets the AutofillWebDataService instance associated with the delegate. |
+ virtual scoped_refptr<AutofillWebDataService> GetDatabase() = 0; |
+ |
// Gets the preferences associated with the delegate. |
virtual PrefService* GetPrefs() = 0; |