Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2586)

Unified Diff: chrome/browser/google_apis/drive_notification_manager_factory.h

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698