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

Unified Diff: chrome/browser/webdata/web_data_service_factory.h

Issue 72613006: Eliminate AutofillWebDataService::FromBrowserContext(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: chrome/browser/webdata/web_data_service_factory.h
diff --git a/chrome/browser/webdata/web_data_service_factory.h b/chrome/browser/webdata/web_data_service_factory.h
index cb80c23be977fb5b5e37df87dda74454c8f8434d..bef2bd8da869f3a52c66440e754e50ef55f63e77 100644
--- a/chrome/browser/webdata/web_data_service_factory.h
+++ b/chrome/browser/webdata/web_data_service_factory.h
@@ -62,6 +62,10 @@ class WebDataServiceFactory : public BrowserContextKeyedServiceFactory {
static WebDataServiceWrapper* GetForProfileIfExists(
Profile* profile, Profile::ServiceAccessType access_type);
+ // Returns the |AutofillWebDataService| associated with the |profile|.
+ static scoped_refptr<autofill::AutofillWebDataService>
+ GetAutofillWebDataForProfile(Profile* profile);
Peter Kasting 2013/11/15 01:30:59 This seems like a random place for this. Why woul
Peter Kasting 2013/11/15 01:35:59 Belay that, I should learn to read your comments f
blundell 2013/11/19 14:05:37 (1) Via discussion on this review thread, resolved
+
static WebDataServiceFactory* GetInstance();
private:

Powered by Google App Engine
This is Rietveld 408576698