Chromium Code Reviews| Index: content/renderer/scheduler/task_queue_manager.h |
| diff --git a/content/renderer/scheduler/task_queue_manager.h b/content/renderer/scheduler/task_queue_manager.h |
| index 8f32b93a0ace6674cfa227db573ca5bad6f4540d..1baa1eb373080036ab37f71d1b568d8291aac871 100644 |
| --- a/content/renderer/scheduler/task_queue_manager.h |
| +++ b/content/renderer/scheduler/task_queue_manager.h |
| @@ -96,6 +96,10 @@ class CONTENT_EXPORT TaskQueueManager { |
| // lock, so calling it has some overhead. |
| bool IsQueueEmpty(size_t queue_index) const; |
| + // Returns the time of the next pending delayed task in any queue. Returns |
| + // a null TimeTicks object if no tasks are pending. |
| + base::TimeTicks NextPendingDelayedTask(); |
|
Sami
2015/03/03 16:55:36
NextPendingDelayedTaskRunTime since we're not retu
rmcilroy
2015/03/04 14:23:12
Done.
|
| + |
| // Set the name |queue_index| for tracing purposes. |name| must be a pointer |
| // to a static string. |
| void SetQueueName(size_t queue_index, const char* name); |