Index: chrome/browser/history/history_service_factory.h |
diff --git a/chrome/browser/history/history_service_factory.h b/chrome/browser/history/history_service_factory.h |
index c66a02b01726fc8be622c8809b65e3b519f05586..6d8cc421f48f0739f1a99757f0ee7eeff078f564 100644 |
--- a/chrome/browser/history/history_service_factory.h |
+++ b/chrome/browser/history/history_service_factory.h |
@@ -13,7 +13,7 @@ class HistoryService; |
// Singleton that owns all HistoryService and associates them with |
// Profiles. |
-class HistoryServiceFactory : public ProfileKeyedServiceFactory { |
+class HistoryServiceFactory : public BrowserContextKeyedServiceFactory { |
public: |
static HistoryService* GetForProfile( |
Profile* profile, Profile::ServiceAccessType sat); |
@@ -38,8 +38,8 @@ class HistoryServiceFactory : public ProfileKeyedServiceFactory { |
HistoryServiceFactory(); |
virtual ~HistoryServiceFactory(); |
- // ProfileKeyedServiceFactory: |
- virtual ProfileKeyedService* BuildServiceInstanceFor( |
+ // BrowserContextKeyedServiceFactory: |
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor( |
content::BrowserContext* context) const OVERRIDE; |
virtual content::BrowserContext* GetBrowserContextToUse( |
content::BrowserContext* context) const OVERRIDE; |