Index: base/pending_task.h |
diff --git a/base/pending_task.h b/base/pending_task.h |
index dcaea4ced4e8bc36addd39cc6a118c27813382c1..1ae1faddf0c3ebff74a466b24c64412d9dcdce8b 100644 |
--- a/base/pending_task.h |
+++ b/base/pending_task.h |
@@ -49,6 +49,9 @@ class TaskQueue : public std::queue<PendingTask> { |
void Swap(TaskQueue* queue); |
}; |
+// PendingTasks are sorted by their |delayed_run_time| property. |
+typedef std::priority_queue<base::PendingTask> DelayedTaskQueue; |
+ |
} // namespace base |
#endif // PENDING_TASK_H_ |