| Index: chrome/browser/sync_file_system/drive_file_sync_service.h
|
| diff --git a/chrome/browser/sync_file_system/drive_file_sync_service.h b/chrome/browser/sync_file_system/drive_file_sync_service.h
|
| index 5dc6928a724197193c5023cc68bbefdd9d1f6239..f272333d5385602893d0eb7df421b876cbee131d 100644
|
| --- a/chrome/browser/sync_file_system/drive_file_sync_service.h
|
| +++ b/chrome/browser/sync_file_system/drive_file_sync_service.h
|
| @@ -17,6 +17,7 @@
|
| #include "base/observer_list.h"
|
| #include "base/threading/non_thread_safe.h"
|
| #include "base/timer.h"
|
| +#include "chrome/browser/google_apis/drive_notification_observer.h"
|
| #include "chrome/browser/sync_file_system/drive_file_sync_client_interface.h"
|
| #include "chrome/browser/sync_file_system/drive_metadata_store.h"
|
| #include "chrome/browser/sync_file_system/local_change_processor.h"
|
| @@ -47,7 +48,8 @@ class DriveFileSyncService
|
| public LocalChangeProcessor,
|
| public DriveFileSyncClientObserver,
|
| public base::NonThreadSafe,
|
| - public syncer::InvalidationHandler {
|
| + public syncer::InvalidationHandler,
|
| + public google_apis::DriveNotificationObserver {
|
| public:
|
| static const char kServiceName[];
|
| static ConflictResolutionPolicy kDefaultPolicy;
|
| @@ -120,6 +122,9 @@ class DriveFileSyncService
|
| virtual void OnIncomingInvalidation(
|
| const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE;
|
|
|
| + // google_apis::DriveNotificationObserver implementation.
|
| + virtual void CheckForUpdates() OVERRIDE;
|
| +
|
| private:
|
| friend class DriveFileSyncServiceMockTest;
|
| friend class DriveFileSyncServiceSyncTest;
|
|
|