| Index: sync/engine/sync_scheduler.h
|
| diff --git a/sync/engine/sync_scheduler.h b/sync/engine/sync_scheduler.h
|
| index b2ebbe3f0484862b9f0c50a6d82e54b61f7dee36..b4357eb68685150218a9fd6a2845f09d3c075ef5 100644
|
| --- a/sync/engine/sync_scheduler.h
|
| +++ b/sync/engine/sync_scheduler.h
|
| @@ -83,20 +83,23 @@ class SYNC_EXPORT_PRIVATE SyncScheduler
|
| // are cancelled.
|
| virtual void RequestStop(const base::Closure& callback) = 0;
|
|
|
| - // The meat and potatoes. Both of these methods will post a delayed task
|
| + // The meat and potatoes. All three of these methods will post a delayed task
|
| // to attempt the actual nudge (see ScheduleNudgeImpl).
|
| // NOTE: |desired_delay| is best-effort. If a nudge is already scheduled to
|
| // depart earlier than Now() + delay, the scheduler can and will prefer to
|
| // batch the two so that only one nudge is sent (at the earlier time). Also,
|
| // as always with delayed tasks and timers, it's possible the task gets run
|
| // any time after |desired_delay|.
|
| - virtual void ScheduleNudgeAsync(
|
| + virtual void ScheduleLocalNudge(
|
| const base::TimeDelta& desired_delay,
|
| - NudgeSource source,
|
| ModelTypeSet types,
|
| const tracked_objects::Location& nudge_location) = 0;
|
| - virtual void ScheduleNudgeWithStatesAsync(
|
| - const base::TimeDelta& desired_delay, NudgeSource source,
|
| + virtual void ScheduleLocalRefreshRequest(
|
| + const base::TimeDelta& desired_delay,
|
| + ModelTypeSet types,
|
| + const tracked_objects::Location& nudge_location) = 0;
|
| + virtual void ScheduleInvalidation(
|
| + const base::TimeDelta& desired_delay,
|
| const ModelTypeInvalidationMap& invalidation_map,
|
| const tracked_objects::Location& nudge_location) = 0;
|
|
|
|
|