Index: base/test/test_simple_task_runner.h |
diff --git a/base/test/test_simple_task_runner.h b/base/test/test_simple_task_runner.h |
index eb600f40c3a68c9396614537993f1468b138b0bb..d089ba8a0bfacbe0cfbcec0bd64219a5b9cc6051 100644 |
--- a/base/test/test_simple_task_runner.h |
+++ b/base/test/test_simple_task_runner.h |
@@ -51,10 +51,11 @@ class TestSimpleTaskRunner : public SingleThreadTaskRunner { |
bool RunsTasksOnCurrentThread() const override; |
- std::deque<TestPendingTask> GetPendingTasks() const; |
+ std::deque<TestPendingTask> TakePendingTasks(); |
size_t NumPendingTasks() const; |
bool HasPendingTask() const; |
base::TimeDelta NextPendingTaskDelay() const; |
+ base::TimeDelta FinalPendingTaskDelay() const; |
// Clears the queue of pending tasks without running them. |
void ClearPendingTasks(); |