Index: chrome/browser/sync/profile_sync_service_factory.h |
diff --git a/chrome/browser/sync/profile_sync_service_factory.h b/chrome/browser/sync/profile_sync_service_factory.h |
index f632f0461e04b7b14e4e940cec667a309dee92cf..0ad8c2a79fbce39a8b8aa3799e9e1f913b1d7bb0 100644 |
--- a/chrome/browser/sync/profile_sync_service_factory.h |
+++ b/chrome/browser/sync/profile_sync_service_factory.h |
@@ -12,7 +12,7 @@ |
class Profile; |
class ProfileSyncService; |
-class ProfileSyncServiceFactory : public ProfileKeyedServiceFactory { |
+class ProfileSyncServiceFactory : public BrowserContextKeyedServiceFactory { |
public: |
static ProfileSyncService* GetForProfile(Profile* profile); |
static bool HasProfileSyncService(Profile* profile); |
@@ -25,8 +25,8 @@ class ProfileSyncServiceFactory : public ProfileKeyedServiceFactory { |
ProfileSyncServiceFactory(); |
virtual ~ProfileSyncServiceFactory(); |
- // ProfileKeyedServiceFactory: |
- virtual ProfileKeyedService* BuildServiceInstanceFor( |
+ // BrowserContextKeyedServiceFactory: |
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor( |
content::BrowserContext* context) const OVERRIDE; |
}; |