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..87d42c1e6d171fef69abf9803e8d2755e00312dd 100644 |
--- a/chrome/browser/webdata/web_data_service_factory.h |
+++ b/chrome/browser/webdata/web_data_service_factory.h |
@@ -53,14 +53,19 @@ class WebDataServiceWrapper : public BrowserContextKeyedService { |
// Profiles. |
class WebDataServiceFactory : public BrowserContextKeyedServiceFactory { |
public: |
- // Returns the |WebDataServiceWrapper| associated with the |profile|. |
- // |access_type| is either EXPLICIT_ACCESS or IMPLICIT_ACCESS |
- // (see its definition). |
+ // Returns the WebDataServiceWrapper associated with the |profile|. |
static WebDataServiceWrapper* GetForProfile( |
- Profile* profile, Profile::ServiceAccessType access_type); |
+ Profile* profile, |
+ Profile::ServiceAccessType access_type); |
static WebDataServiceWrapper* GetForProfileIfExists( |
- Profile* profile, Profile::ServiceAccessType access_type); |
+ Profile* profile, |
+ Profile::ServiceAccessType access_type); |
+ |
+ // Returns the AutofillWebDataService associated with the |profile|. |
+ static scoped_refptr<autofill::AutofillWebDataService> |
+ GetAutofillWebDataForProfile(Profile* profile, |
+ Profile::ServiceAccessType access_type); |
static WebDataServiceFactory* GetInstance(); |