| Index: chrome/browser/drive/drive_notification_manager.h
|
| diff --git a/chrome/browser/drive/drive_notification_manager.h b/chrome/browser/drive/drive_notification_manager.h
|
| index f519a410a89455cc5017265fc9f9f90a386ebdfa..e9016698bc50a5a613f5a2b0af61b820e64149dc 100644
|
| --- a/chrome/browser/drive/drive_notification_manager.h
|
| +++ b/chrome/browser/drive/drive_notification_manager.h
|
| @@ -12,9 +12,12 @@
|
| #include "components/browser_context_keyed_service/browser_context_keyed_service.h"
|
| #include "sync/notifier/invalidation_handler.h"
|
|
|
| -class Profile;
|
| class ProfileSyncService;
|
|
|
| +namespace invalidation {
|
| +class InvalidationService;
|
| +}
|
| +
|
| namespace drive {
|
|
|
| // Informs observers when they should check Google Drive for updates.
|
| @@ -25,7 +28,8 @@ class DriveNotificationManager
|
| : public BrowserContextKeyedService,
|
| public syncer::InvalidationHandler {
|
| public:
|
| - explicit DriveNotificationManager(Profile* profile);
|
| + explicit DriveNotificationManager(
|
| + invalidation::InvalidationService* invalidation_service);
|
| virtual ~DriveNotificationManager();
|
|
|
| // BrowserContextKeyedService override.
|
| @@ -69,7 +73,7 @@ class DriveNotificationManager
|
| // Returns a string representation of NotificationSource.
|
| static std::string NotificationSourceToString(NotificationSource source);
|
|
|
| - Profile* profile_;
|
| + invalidation::InvalidationService* invalidation_service_;
|
| ObserverList<DriveNotificationObserver> observers_;
|
|
|
| // True when Drive File Sync Service is registered for Drive notifications.
|
|
|