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

Unified Diff: components/scheduler/base/task_queue.h

Issue 1441073006: Move throttling of background timers into the renderer scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try again for MSVC Created 5 years, 1 month 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: components/scheduler/base/task_queue.h
diff --git a/components/scheduler/base/task_queue.h b/components/scheduler/base/task_queue.h
index abc3665e581e62d247b06dc27ffc7570ea50c959..7c2bc81c98fc8e2a5cebf5ceb20eabf3f3fc8d46 100644
--- a/components/scheduler/base/task_queue.h
+++ b/components/scheduler/base/task_queue.h
@@ -19,12 +19,6 @@ class SCHEDULER_EXPORT TaskQueue : public base::SingleThreadTaskRunner {
// the TaskQueueManager's reference to it will be released soon.
virtual void UnregisterTaskQueue() = 0;
- // Post a delayed task at an absolute desired run time instead of a time
- // delta from the current time.
- virtual bool PostDelayedTaskAt(const tracked_objects::Location& from_here,
- const base::Closure& task,
- base::TimeTicks desired_run_time) = 0;
-
enum QueuePriority {
// Queues with control priority will run before any other queue, and will
// explicitly starve other queues. Typically this should only be used for
« no previous file with comments | « no previous file | components/scheduler/base/task_queue_impl.h » ('j') | components/scheduler/renderer/renderer_scheduler_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698