Index: chrome/browser/extensions/api/idle/idle_manager_factory.h |
diff --git a/chrome/browser/extensions/api/idle/idle_manager_factory.h b/chrome/browser/extensions/api/idle/idle_manager_factory.h |
index c9946bec60994befb5e3e85432b2866f6305f1a6..2ff96053a1f4ded008295a10dff0879fef043618 100644 |
--- a/chrome/browser/extensions/api/idle/idle_manager_factory.h |
+++ b/chrome/browser/extensions/api/idle/idle_manager_factory.h |
@@ -13,7 +13,7 @@ class Profile; |
namespace extensions { |
class IdleManager; |
-class IdleManagerFactory : public ProfileKeyedServiceFactory { |
+class IdleManagerFactory : public BrowserContextKeyedServiceFactory { |
public: |
static IdleManager* GetForProfile(Profile* profile); |
@@ -25,12 +25,12 @@ class IdleManagerFactory : public ProfileKeyedServiceFactory { |
IdleManagerFactory(); |
virtual ~IdleManagerFactory(); |
- // ProfileKeyedBaseFactory implementation. |
- virtual ProfileKeyedService* BuildServiceInstanceFor( |
+ // BrowserContextKeyedBaseFactory implementation. |
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor( |
content::BrowserContext* profile) const OVERRIDE; |
virtual content::BrowserContext* GetBrowserContextToUse( |
content::BrowserContext* context) const OVERRIDE; |
- virtual bool ServiceIsCreatedWithProfile() const OVERRIDE; |
+ virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE; |
virtual bool ServiceIsNULLWhileTesting() const OVERRIDE; |
}; |