Index: third_party/WebKit/Source/platform/scheduler/base/time_domain.h |
diff --git a/third_party/WebKit/Source/platform/scheduler/base/time_domain.h b/third_party/WebKit/Source/platform/scheduler/base/time_domain.h |
index 829bd07f70f50b56346292faab50a5bc8a295a68..09e3f70ade30e3096f9e31c8458d471eddf3dd0a 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/base/time_domain.h |
+++ b/third_party/WebKit/Source/platform/scheduler/base/time_domain.h |
@@ -95,7 +95,7 @@ |
// registered wakeup for |queue|. |
void ScheduleDelayedWork(internal::TaskQueueImpl* queue, |
base::TimeTicks delayed_run_time, |
- LazyNow* lazy_now); |
+ base::TimeTicks now); |
// Cancels any scheduled calls to TaskQueueImpl::WakeUpForDelayedWork for |
// |queue|. |
@@ -111,17 +111,12 @@ |
virtual void OnRegisterWithTaskQueueManager( |
TaskQueueManager* task_queue_manager) = 0; |
- // The implementation will schedule task processing to run at time |run_time| |
- // within the TimeDomain's time line. Only called from the main thread. |
+ // The implementaion will secedule task processing to run with |delay| with |
+ // respect to the TimeDomain's time source. Always called on the main thread. |
// NOTE this is only called by ScheduleDelayedWork if the scheduled runtime |
// is sooner than any previously sheduled work or if there is no other |
// scheduled work. |
- virtual void RequestWakeupAt(LazyNow* lazy_now, base::TimeTicks run_time) = 0; |
- |
- // The implementation will cancel a wake up previously requested by |
- // RequestWakeupAt. It's expected this will be a NOP for most virtual time |
- // domains. |
- virtual void CancelWakeupAt(base::TimeTicks run_time) = 0; |
+ virtual void RequestWakeup(base::TimeTicks now, base::TimeDelta delay) = 0; |
// For implementation specific tracing. |
virtual void AsValueIntoInternal( |