Index: net/quic/chromium/test_task_runner.h |
diff --git a/net/quic/chromium/test_task_runner.h b/net/quic/chromium/test_task_runner.h |
index 0c6478e1b5a0156944844c6732afbb298d5be3ab..aafec64093cc2957a732027a8e9e9ebf7401c67e 100644 |
--- a/net/quic/chromium/test_task_runner.h |
+++ b/net/quic/chromium/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; |