Index: chrome/browser/sessions/tab_restore_service_factory.h |
diff --git a/chrome/browser/sessions/tab_restore_service_factory.h b/chrome/browser/sessions/tab_restore_service_factory.h |
index d1eec5913fcf89684b0eb4a290b6f75924344a2d..8908e9746d86b40f55e0f3878f906bfdf16895ec 100644 |
--- a/chrome/browser/sessions/tab_restore_service_factory.h |
+++ b/chrome/browser/sessions/tab_restore_service_factory.h |
@@ -14,7 +14,7 @@ class Profile; |
// Singleton that owns all TabRestoreServices and associates them with |
// Profiles. Listens for the Profile's destruction notification and cleans up |
// the associated TabRestoreService. |
-class TabRestoreServiceFactory : public ProfileKeyedServiceFactory { |
+class TabRestoreServiceFactory : public BrowserContextKeyedServiceFactory { |
public: |
static TabRestoreService* GetForProfile(Profile* profile); |
@@ -32,8 +32,8 @@ class TabRestoreServiceFactory : public ProfileKeyedServiceFactory { |
TabRestoreServiceFactory(); |
virtual ~TabRestoreServiceFactory(); |
- // ProfileKeyedServiceFactory: |
- virtual ProfileKeyedService* BuildServiceInstanceFor( |
+ // BrowserContextKeyedServiceFactory: |
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor( |
content::BrowserContext* profile) const OVERRIDE; |
virtual bool ServiceIsNULLWhileTesting() const OVERRIDE; |
}; |