Index: chrome/browser/drive/drive_notification_manager_factory.h |
diff --git a/chrome/browser/drive/drive_notification_manager_factory.h b/chrome/browser/drive/drive_notification_manager_factory.h |
index 65340d09a4a6bef99416d5d6f5f644f85ce65b46..a0f1ffbe68342085069e6b378509c64cc400cc74 100644 |
--- a/chrome/browser/drive/drive_notification_manager_factory.h |
+++ b/chrome/browser/drive/drive_notification_manager_factory.h |
@@ -8,18 +8,21 @@ |
#include "base/memory/singleton.h" |
#include "components/browser_context_keyed_service/browser_context_keyed_service_factory.h" |
-class Profile; |
+namespace content { |
+class BrowserContext; |
+} |
namespace drive { |
class DriveNotificationManager; |
// Singleton that owns all DriveNotificationManager and associates them with |
-// profiles. |
+// browser contexts. |
class DriveNotificationManagerFactory |
: public BrowserContextKeyedServiceFactory { |
public: |
- static DriveNotificationManager* GetForProfile(Profile* profile); |
+ static DriveNotificationManager* GetForBrowserContext( |
+ content::BrowserContext* context); |
static DriveNotificationManagerFactory* GetInstance(); |
@@ -31,7 +34,7 @@ class DriveNotificationManagerFactory |
// BrowserContextKeyedServiceFactory implementation. |
virtual BrowserContextKeyedService* BuildServiceInstanceFor( |
- content::BrowserContext* profile) const OVERRIDE; |
+ content::BrowserContext* context) const OVERRIDE; |
}; |
} // namespace drive |