Index: chrome/browser/extensions/api/discovery/suggested_links_registry_factory.h |
diff --git a/chrome/browser/extensions/api/discovery/suggested_links_registry_factory.h b/chrome/browser/extensions/api/discovery/suggested_links_registry_factory.h |
index 3ec5413c2847e6bbdcc65082d132519122c5c1e7..1637b601c223614f79d74502b9f5d122ff7c58f6 100644 |
--- a/chrome/browser/extensions/api/discovery/suggested_links_registry_factory.h |
+++ b/chrome/browser/extensions/api/discovery/suggested_links_registry_factory.h |
@@ -15,14 +15,14 @@ namespace extensions { |
class SuggestedLinksRegistry; |
// Singleton that associate SuggestedLinksRegistry objects with Profiles. |
-class SuggestedLinksRegistryFactory : public ProfileKeyedServiceFactory { |
+class SuggestedLinksRegistryFactory : public BrowserContextKeyedServiceFactory { |
public: |
static SuggestedLinksRegistry* GetForProfile(Profile* profile); |
static SuggestedLinksRegistryFactory* GetInstance(); |
- // Overridden from ProfileKeyedBaseFactory: |
- virtual bool ServiceIsCreatedWithProfile() const OVERRIDE; |
+ // Overridden from BrowserContextKeyedBaseFactory: |
+ virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE; |
private: |
friend struct DefaultSingletonTraits<SuggestedLinksRegistryFactory>; |
@@ -30,8 +30,8 @@ class SuggestedLinksRegistryFactory : public ProfileKeyedServiceFactory { |
SuggestedLinksRegistryFactory(); |
virtual ~SuggestedLinksRegistryFactory(); |
- // ProfileKeyedServiceFactory: |
- virtual ProfileKeyedService* BuildServiceInstanceFor( |
+ // BrowserContextKeyedServiceFactory: |
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor( |
content::BrowserContext* profile) const OVERRIDE; |
virtual content::BrowserContext* GetBrowserContextToUse( |
content::BrowserContext* context) const OVERRIDE; |