Index: base/task_scheduler/task_tracker.h |
diff --git a/base/task_scheduler/task_tracker.h b/base/task_scheduler/task_tracker.h |
index fc0901f7c139ade379e6e334a3aa7603efec7b49..1705c0b04ef63daa96f4120b36eb1b3ea10e39ed 100644 |
--- a/base/task_scheduler/task_tracker.h |
+++ b/base/task_scheduler/task_tracker.h |
@@ -13,6 +13,7 @@ |
#include "base/metrics/histogram_base.h" |
#include "base/synchronization/waitable_event.h" |
#include "base/task_scheduler/scheduler_lock.h" |
+#include "base/task_scheduler/sequence.h" |
#include "base/task_scheduler/task.h" |
#include "base/task_scheduler/task_traits.h" |
@@ -40,9 +41,9 @@ class BASE_EXPORT TaskTracker { |
// this operation is allowed (|task| should be posted if-and-only-if it is). |
bool WillPostTask(const Task* task); |
- // Runs |task| unless the current shutdown state prevents that. WillPostTask() |
- // must have allowed |task| to be posted. |
- void RunTask(const Task* task); |
+ // Runs the next Task in |sequence| unless the current shutdown state prevents |
+ // that. WillPostTask() must have allowed the Task to be posted. |
+ void RunNextTaskInSequence(const Sequence* sequence); |
// Returns true if shutdown has completed. |
bool IsShutdownComplete() const; |