Index: chrome/browser/extensions/extension_system_factory.h |
diff --git a/chrome/browser/extensions/extension_system_factory.h b/chrome/browser/extensions/extension_system_factory.h |
index dd0ae55b885ea7deb1e074686c6a3bbb5a45f6c6..9e876c2ba9e92606d5ceb8bd9809844321960bee 100644 |
--- a/chrome/browser/extensions/extension_system_factory.h |
+++ b/chrome/browser/extensions/extension_system_factory.h |
@@ -32,7 +32,8 @@ class ExtensionSystemSharedFactory : public ProfileKeyedServiceFactory { |
virtual ProfileKeyedService* BuildServiceInstanceFor( |
content::BrowserContext* profile) const OVERRIDE; |
- virtual bool ServiceRedirectedInIncognito() const OVERRIDE; |
+ virtual content::BrowserContext* GetBrowserContextToUse( |
+ content::BrowserContext* context) const OVERRIDE; |
}; |
// ProfileKeyedServiceFactory for ExtensionSystem. |
@@ -51,7 +52,8 @@ class ExtensionSystemFactory : public ProfileKeyedServiceFactory { |
virtual ProfileKeyedService* BuildServiceInstanceFor( |
content::BrowserContext* profile) const OVERRIDE; |
- virtual bool ServiceHasOwnInstanceInIncognito() const OVERRIDE; |
+ virtual content::BrowserContext* GetBrowserContextToUse( |
+ content::BrowserContext* context) const OVERRIDE; |
virtual bool ServiceIsCreatedWithProfile() const OVERRIDE; |
}; |