diff options
Diffstat (limited to 'sync/engine/sync_scheduler_impl.h')
-rw-r--r-- | sync/engine/sync_scheduler_impl.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sync/engine/sync_scheduler_impl.h b/sync/engine/sync_scheduler_impl.h index 7eba048..7190bdf6 100644 --- a/sync/engine/sync_scheduler_impl.h +++ b/sync/engine/sync_scheduler_impl.h @@ -33,9 +33,7 @@ namespace syncer { class BackoffDelayProvider; -class SYNC_EXPORT_PRIVATE SyncSchedulerImpl : - public SyncScheduler, - public SyncSessionJob::DestructionObserver { +class SYNC_EXPORT_PRIVATE SyncSchedulerImpl : public SyncScheduler { public: // |name| is a display string to identify the syncer thread. Takes // |ownership of |syncer| and |delay_provider|. @@ -81,9 +79,6 @@ class SYNC_EXPORT_PRIVATE SyncSchedulerImpl : virtual void OnSyncProtocolError( const sessions::SyncSessionSnapshot& snapshot) OVERRIDE; - // SyncSessionJob::DestructionObserver implementation. - virtual void OnJobDestroyed(SyncSessionJob* job) OVERRIDE; - private: enum JobProcessDecision { // Indicates we should continue with the current job. @@ -273,8 +268,6 @@ class SYNC_EXPORT_PRIVATE SyncSchedulerImpl : virtual void OnActionableError(const sessions::SyncSessionSnapshot& snapshot); - void set_pending_nudge(SyncSessionJob* job); - base::WeakPtrFactory<SyncSchedulerImpl> weak_ptr_factory_; // A second factory specially for weak_handle_this_, to allow the handle |