| 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 5d3d4a92e53fdf59153c7ce5164d1feddb2b2c3f..504e982b4e4b0fa8005b309c70e9cb23ca1b641d 100644
|
| --- a/chrome/browser/webdata/web_data_service_factory.h
|
| +++ b/chrome/browser/webdata/web_data_service_factory.h
|
| @@ -20,7 +20,7 @@ class AutofillWebDataService;
|
| } // namespace autofill
|
|
|
| // A wrapper of WebDataService so that we can use it as a profile keyed service.
|
| -class WebDataServiceWrapper : public ProfileKeyedService {
|
| +class WebDataServiceWrapper : public BrowserContextKeyedService {
|
| public:
|
| explicit WebDataServiceWrapper(Profile* profile);
|
|
|
| @@ -29,7 +29,7 @@ class WebDataServiceWrapper : public ProfileKeyedService {
|
|
|
| virtual ~WebDataServiceWrapper();
|
|
|
| - // ProfileKeyedService:
|
| + // BrowserContextKeyedService:
|
| virtual void Shutdown() OVERRIDE;
|
|
|
| virtual scoped_refptr<autofill::AutofillWebDataService> GetAutofillWebData();
|
| @@ -47,7 +47,7 @@ class WebDataServiceWrapper : public ProfileKeyedService {
|
|
|
| // Singleton that owns all WebDataServiceWrappers and associates them with
|
| // Profiles.
|
| -class WebDataServiceFactory : public ProfileKeyedServiceFactory {
|
| +class WebDataServiceFactory : public BrowserContextKeyedServiceFactory {
|
| public:
|
| // Returns the |WebDataServiceWrapper| associated with the |profile|.
|
| // |access_type| is either EXPLICIT_ACCESS or IMPLICIT_ACCESS
|
| @@ -66,10 +66,10 @@ class WebDataServiceFactory : public ProfileKeyedServiceFactory {
|
| WebDataServiceFactory();
|
| virtual ~WebDataServiceFactory();
|
|
|
| - // |ProfileKeyedBaseFactory| methods:
|
| + // |BrowserContextKeyedBaseFactory| methods:
|
| virtual content::BrowserContext* GetBrowserContextToUse(
|
| content::BrowserContext* context) const OVERRIDE;
|
| - virtual ProfileKeyedService* BuildServiceInstanceFor(
|
| + virtual BrowserContextKeyedService* BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const OVERRIDE;
|
| virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
|
|
|
|
|