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

Unified Diff: net/http/http_stream_factory_impl_job_controller.h

Issue 2693043008: Resume the main job immediately when QUIC job fails, not wait for the head start timer to exprie (Closed)
Patch Set: sync with master Created 3 years, 10 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
Index: net/http/http_stream_factory_impl_job_controller.h
diff --git a/net/http/http_stream_factory_impl_job_controller.h b/net/http/http_stream_factory_impl_job_controller.h
index 41d1341e3cd263f5ea1f116600c37c923434e017..df246a58e1fcde11187ce7fb4ca1ad14eb7f759f 100644
--- a/net/http/http_stream_factory_impl_job_controller.h
+++ b/net/http/http_stream_factory_impl_job_controller.h
@@ -308,6 +308,10 @@ class HttpStreamFactoryImpl::JobController
// True if the main job has to wait for the alternative job: i.e., the main
// job must not create a connection until it is resumed.
bool main_job_is_blocked_;
+
+ // True if the main job was blocked and has been resumed in ResumeMainJob().
+ bool main_job_is_resumed_;
+
// Waiting time for the main job before it is resumed.
base::TimeDelta main_job_wait_time_;

Powered by Google App Engine
This is Rietveld 408576698