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 5859a5291b53f078cd90168d0d4e9ff0b848802c..0be8b99d5ccfcb1f4d69b0110f464c9c0a88bb2f 100644 |
--- a/content/renderer/scheduler/task_queue_manager.h |
+++ b/content/renderer/scheduler/task_queue_manager.h |
@@ -98,6 +98,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 NextPendingDelayedTaskRunTime(); |
+ |
// 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); |