Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Unified Diff: net/quic/chromium/test_task_runner.h

Issue 2789093003: Mark QUIC broken when the network blackholes after the handshake (Closed)
Patch Set: jana's comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/chromium/quic_test_packet_maker.cc ('k') | net/quic/chromium/test_task_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « net/quic/chromium/quic_test_packet_maker.cc ('k') | net/quic/chromium/test_task_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698