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

Unified Diff: components/scheduler/base/task_queue_impl.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: Fixed various dchecks 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_impl.h
diff --git a/components/scheduler/base/task_queue_impl.h b/components/scheduler/base/task_queue_impl.h
index 1f130e124eefa9c7a0b59ff9723989c349859351..c3c95ace858f6a78e39b9b5688458e7b1e9d2244 100644
--- a/components/scheduler/base/task_queue_impl.h
+++ b/components/scheduler/base/task_queue_impl.h
@@ -70,11 +70,9 @@ class SCHEDULER_EXPORT TaskQueueImpl final : public TaskQueue {
bool PostNonNestableDelayedTask(const tracked_objects::Location& from_here,
const base::Closure& task,
base::TimeDelta delay) override;
- bool PostDelayedTaskAt(const tracked_objects::Location& from_here,
- const base::Closure& task,
- base::TimeTicks desired_run_time) override;
bool IsQueueEnabled() const override;
+ bool HasPendingDelayedTask() const override;
QueueState GetQueueState() const override;
void SetQueuePriority(QueuePriority priority) override;
void PumpQueue() override;

Powered by Google App Engine
This is Rietveld 408576698