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

Unified Diff: net/http/http_stream_factory_impl_job_controller.h

Issue 2699433003: Add net-log entries when HttpStream jobs are forced to wait, and when they're delayed and resumed. (Closed)
Patch Set: fix comments from eroman 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 7ad14c6b8e4264357d794ee6f1af32af6b8b6770..41d1341e3cd263f5ea1f116600c37c923434e017 100644
--- a/net/http/http_stream_factory_impl_job_controller.h
+++ b/net/http/http_stream_factory_impl_job_controller.h
@@ -231,6 +231,10 @@ class HttpStreamFactoryImpl::JobController
// |alternative_job_| has failed or |main_job_wait_time_| elapsed.
void MaybeResumeMainJob(Job* job, const base::TimeDelta& delay);
+ // Posts a task to resume the main job after |delay|.
+ void ResumeMainJobLater(const base::TimeDelta& delay);
+
+ // Resumes the main job immediately.
void ResumeMainJob();
// Returns true if QUIC is whitelisted for |host|.

Powered by Google App Engine
This is Rietveld 408576698