| Index: chrome/browser/chromeos/app_mode/kiosk_app_update_service.h
|
| diff --git a/chrome/browser/chromeos/app_mode/kiosk_app_update_service.h b/chrome/browser/chromeos/app_mode/kiosk_app_update_service.h
|
| index 1fd9dd170dfbad99b7eb7cec4a9a4c7892b8fb50..7421a81a3db7655eee6cfa31f968f293e3fc9446 100644
|
| --- a/chrome/browser/chromeos/app_mode/kiosk_app_update_service.h
|
| +++ b/chrome/browser/chromeos/app_mode/kiosk_app_update_service.h
|
| @@ -20,7 +20,7 @@ class Profile;
|
| namespace chromeos {
|
|
|
| // This class enforces automatic restart on app and Chrome updates in app mode.
|
| -class KioskAppUpdateService : public ProfileKeyedService,
|
| +class KioskAppUpdateService : public BrowserContextKeyedService,
|
| public extensions::UpdateObserver {
|
| public:
|
| explicit KioskAppUpdateService(Profile* profile);
|
| @@ -37,7 +37,7 @@ class KioskAppUpdateService : public ProfileKeyedService,
|
| virtual void OnAppUpdateAvailable(const std::string& app_id) OVERRIDE;
|
| virtual void OnChromeUpdateAvailable() OVERRIDE {}
|
|
|
| - // ProfileKeyedService overrides:
|
| + // BrowserContextKeyedService overrides:
|
| virtual void Shutdown() OVERRIDE;
|
|
|
| private:
|
| @@ -52,7 +52,7 @@ class KioskAppUpdateService : public ProfileKeyedService,
|
|
|
| // Singleton that owns all KioskAppUpdateServices and associates them with
|
| // profiles.
|
| -class KioskAppUpdateServiceFactory: public ProfileKeyedServiceFactory {
|
| +class KioskAppUpdateServiceFactory : public BrowserContextKeyedServiceFactory {
|
| public:
|
| // Returns the KioskAppUpdateService for |profile|, creating it if it is not
|
| // yet created.
|
| @@ -67,8 +67,8 @@ class KioskAppUpdateServiceFactory: public ProfileKeyedServiceFactory {
|
| KioskAppUpdateServiceFactory();
|
| virtual ~KioskAppUpdateServiceFactory();
|
|
|
| - // ProfileKeyedServiceFactory overrides:
|
| - virtual ProfileKeyedService* BuildServiceInstanceFor(
|
| + // BrowserContextKeyedServiceFactory overrides:
|
| + virtual BrowserContextKeyedService* BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const OVERRIDE;
|
| };
|
|
|
|
|