Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1068)

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h

Issue 2583333002: Revert of Dont post delayed DoWork for disabled queues. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h
index f4f57175c2b7ef4bade153a53360fb5f4c990a5b..a180f00511eeb720944e6872b655e0927e27d522 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h
@@ -74,12 +74,8 @@
// runner. These delayed tasks are de-duplicated. Must be called on the thread
// this class was created on.
void MaybeScheduleDelayedWork(const tracked_objects::Location& from_here,
- LazyNow* lazy_now,
- base::TimeTicks run_time);
-
- // Cancels a delayed task to process work at |run_time|, previously requested
- // with MaybeScheduleDelayedWork.
- void CancelDelayedWork(base::TimeTicks run_time);
+ base::TimeTicks now,
+ base::TimeDelta delay);
// Set the number of tasks executed in a single invocation of the task queue
// manager. Increasing the batch size can reduce the overhead of yielding

Powered by Google App Engine
This is Rietveld 408576698