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

Unified Diff: components/autofill/core/browser/autofill_manager_delegate.h

Issue 71683003: Have AutofillManagerDelegate supply the AutofillWebDataService to core code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review Created 7 years, 1 month 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: 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;

Powered by Google App Engine
This is Rietveld 408576698