Index: sync/engine/sync_scheduler.h |
diff --git a/sync/engine/sync_scheduler.h b/sync/engine/sync_scheduler.h |
index 1dd101889bd42bcca999d45208fc534d12a4d758..5e6ebbe9d7b52c9aa03a3429813819ed93c59b02 100644 |
--- a/sync/engine/sync_scheduler.h |
+++ b/sync/engine/sync_scheduler.h |
@@ -75,11 +75,9 @@ class SYNC_EXPORT_PRIVATE SyncScheduler |
// Note: must already be in CONFIGURATION mode. |
virtual bool ScheduleConfiguration(const ConfigurationParams& params) = 0; |
- // Request that any running syncer task stop as soon as possible and |
- // cancel all scheduled tasks. This function can be called from any thread, |
- // and should in fact be called from a thread that isn't the sync loop to |
- // allow preempting ongoing sync cycles. |
- virtual void RequestStop() = 0; |
+ // Request that the syncer avoid starting any new tasks and prepare for |
+ // shutdown. |
+ virtual void Stop() = 0; |
// The meat and potatoes. All three of the following methods will post a |
// delayed task to attempt the actual nudge (see ScheduleNudgeImpl). |