Index: chrome/browser/google_apis/drive_notification_manager_factory.h |
diff --git a/chrome/browser/google_apis/drive_notification_manager_factory.h b/chrome/browser/google_apis/drive_notification_manager_factory.h |
index 76f2c72f59837035c93e138e41781805ef3592d1..6c1bddf7c2e3feed9745911e5c3de585c20c2b29 100644 |
--- a/chrome/browser/google_apis/drive_notification_manager_factory.h |
+++ b/chrome/browser/google_apis/drive_notification_manager_factory.h |
@@ -16,7 +16,8 @@ class DriveNotificationManager; |
// Singleton that owns all DriveNotificationManager and associates them with |
// profiles. |
-class DriveNotificationManagerFactory : public ProfileKeyedServiceFactory { |
+class DriveNotificationManagerFactory |
+ : public BrowserContextKeyedServiceFactory { |
public: |
static DriveNotificationManager* GetForProfile(Profile* profile); |
@@ -28,8 +29,8 @@ class DriveNotificationManagerFactory : public ProfileKeyedServiceFactory { |
DriveNotificationManagerFactory(); |
virtual ~DriveNotificationManagerFactory(); |
- // ProfileKeyedServiceFactory implementation. |
- virtual ProfileKeyedService* BuildServiceInstanceFor( |
+ // BrowserContextKeyedServiceFactory implementation. |
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor( |
content::BrowserContext* profile) const OVERRIDE; |
}; |