| Index: chrome/browser/ui/global_error/global_error_service_factory.h
|
| diff --git a/chrome/browser/ui/global_error/global_error_service_factory.h b/chrome/browser/ui/global_error/global_error_service_factory.h
|
| index 09df13940ac60b18a9f87b83355b081c26ea37af..8f0c80fbd109e39b34724ac2aaf445267f51ce6a 100644
|
| --- a/chrome/browser/ui/global_error/global_error_service_factory.h
|
| +++ b/chrome/browser/ui/global_error/global_error_service_factory.h
|
| @@ -16,7 +16,7 @@ class Profile;
|
| // Singleton that owns all GlobalErrorService and associates them with
|
| // Profiles. Listens for the Profile's destruction notification and cleans up
|
| // the associated GlobalErrorService.
|
| -class GlobalErrorServiceFactory : public ProfileKeyedServiceFactory {
|
| +class GlobalErrorServiceFactory : public BrowserContextKeyedServiceFactory {
|
| public:
|
| static GlobalErrorService* GetForProfile(Profile* profile);
|
|
|
| @@ -28,8 +28,8 @@ class GlobalErrorServiceFactory : public ProfileKeyedServiceFactory {
|
| GlobalErrorServiceFactory();
|
| virtual ~GlobalErrorServiceFactory();
|
|
|
| - // ProfileKeyedServiceFactory:
|
| - virtual ProfileKeyedService* BuildServiceInstanceFor(
|
| + // BrowserContextKeyedServiceFactory:
|
| + virtual BrowserContextKeyedService* BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const OVERRIDE;
|
| virtual content::BrowserContext* GetBrowserContextToUse(
|
| content::BrowserContext* context) const OVERRIDE;
|
|
|