Index: net/quic/test_tools/test_task_runner.h |
diff --git a/net/quic/test_tools/test_task_runner.h b/net/quic/test_tools/test_task_runner.h |
index a7d72e207622f1fd5a275d46db75a87237cbae18..3047b0d1886e8a9f66951aadd88c54cfe27cd2cc 100644 |
--- a/net/quic/test_tools/test_task_runner.h |
+++ b/net/quic/test_tools/test_task_runner.h |
@@ -34,8 +34,14 @@ class TestTaskRunner : public base::TaskRunner { |
const std::vector<PostedTask>& GetPostedTasks() const; |
+ // Finds the next task to run, advances the time to the correct time |
+ // and then runs the task. |
void RunNextTask(); |
+ // While there are posted tasks, finds the next task to run, advances the |
+ // time to the correct time and then runs the task. |
+ void RunUntilIdle(); |
+ |
protected: |
~TestTaskRunner() override; |