Index: sync/engine/sync_scheduler_impl.h |
diff --git a/sync/engine/sync_scheduler_impl.h b/sync/engine/sync_scheduler_impl.h |
index b7d8d0beef277cea87bd14162fa60ff777c14c40..0304da94958ad65b1ebb7bfb0530a468a9f0719a 100644 |
--- a/sync/engine/sync_scheduler_impl.h |
+++ b/sync/engine/sync_scheduler_impl.h |
@@ -53,6 +53,7 @@ class SYNC_EXPORT_PRIVATE SyncSchedulerImpl |
void Start(Mode mode, base::Time last_poll_time) override; |
void ScheduleConfiguration(const ConfigurationParams& params) override; |
+ void ScheduleClearServerData(const ClearParams& params) override; |
void Stop() override; |
void ScheduleLocalNudge( |
ModelTypeSet types, |
@@ -151,6 +152,8 @@ class SYNC_EXPORT_PRIVATE SyncSchedulerImpl |
// Invoke the syncer to perform a configuration job. |
void DoConfigurationSyncSessionJob(JobPriority priority); |
+ void DoClearServerDataSyncSessionJob(JobPriority priority); |
+ |
// Helper function for Do{Nudge,Configuration,Poll}SyncSessionJob. |
void HandleSuccess(); |
@@ -272,6 +275,8 @@ class SYNC_EXPORT_PRIVATE SyncSchedulerImpl |
// that (mode_ != CONFIGURATION_MODE) \implies !pending_configure_params_. |
scoped_ptr<ConfigurationParams> pending_configure_params_; |
+ scoped_ptr<ClearParams> pending_clear_params_; |
+ |
// If we have a nudge pending to run soon, it will be listed here. |
base::TimeTicks scheduled_nudge_time_; |