Chromium Code Reviews| 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..a6bff3f2d198b01d489deb6981799aaf27eefc16 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(); |
|
tzik
2013/04/09 08:31:34
Please add OVERRIDE.
calvinlo
2013/04/09 08:44:20
Done.
|
| + |
| private: |
| friend class DriveFileSyncServiceMockTest; |
| friend class DriveFileSyncServiceSyncTest; |