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

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: Android fix 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..a3abd9b223b38dc0743453f0d982a9d1de0e6814 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,10 @@ 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;
Ilya Sherman 2013/11/14 23:45:55 nit: Looks like this ought to fit on a single line
blundell 2013/11/15 16:04:54 Done.
+
// Gets the preferences associated with the delegate.
virtual PrefService* GetPrefs() = 0;

Powered by Google App Engine
This is Rietveld 408576698