Index: chrome/browser/history/web_history_service_factory.h |
diff --git a/chrome/browser/history/web_history_service_factory.h b/chrome/browser/history/web_history_service_factory.h |
index 64fb30a6b54945e3b36aa24bd5cc7badbbc69998..3de9079bbb6cf1c8d677ac5acee10f8ce43bc440 100644 |
--- a/chrome/browser/history/web_history_service_factory.h |
+++ b/chrome/browser/history/web_history_service_factory.h |
@@ -15,7 +15,7 @@ class WebHistoryService; |
// Used for creating and fetching a per-profile instance of the |
// WebHistoryService. |
-class WebHistoryServiceFactory : public ProfileKeyedServiceFactory { |
+class WebHistoryServiceFactory : public BrowserContextKeyedServiceFactory { |
public: |
// Get the singleton instance of the factory. |
static WebHistoryServiceFactory* GetInstance(); |
@@ -24,8 +24,8 @@ class WebHistoryServiceFactory : public ProfileKeyedServiceFactory { |
static history::WebHistoryService* GetForProfile(Profile* profile); |
protected: |
- // Overridden from ProfileKeyedServiceFactory. |
- virtual ProfileKeyedService* BuildServiceInstanceFor( |
+ // Overridden from BrowserContextKeyedServiceFactory. |
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor( |
content::BrowserContext* context) const OVERRIDE; |
private: |