Index: chrome/browser/extensions/api/developer_private/developer_private_api_factory.h |
diff --git a/chrome/browser/extensions/api/developer_private/developer_private_api_factory.h b/chrome/browser/extensions/api/developer_private/developer_private_api_factory.h |
index dfe4044d23de386dc350b3c12f90537b3bb8b6f2..9d7d157ac2ea3095c6cba7a0c730eda3c0d1572c 100644 |
--- a/chrome/browser/extensions/api/developer_private/developer_private_api_factory.h |
+++ b/chrome/browser/extensions/api/developer_private/developer_private_api_factory.h |
@@ -16,7 +16,7 @@ class DeveloperPrivateAPI; |
// This is a singleton class which holds profileKeyed references to |
// DeveloperPrivateAPI class. |
-class DeveloperPrivateAPIFactory : public ProfileKeyedServiceFactory { |
+class DeveloperPrivateAPIFactory : public BrowserContextKeyedServiceFactory { |
public: |
static DeveloperPrivateAPI* GetForProfile(Profile* profile); |
@@ -28,12 +28,12 @@ class DeveloperPrivateAPIFactory : public ProfileKeyedServiceFactory { |
DeveloperPrivateAPIFactory(); |
virtual ~DeveloperPrivateAPIFactory(); |
- // ProfileKeyedServiceFactory implementation. |
- virtual ProfileKeyedService* BuildServiceInstanceFor( |
+ // BrowserContextKeyedServiceFactory 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; |
}; |