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

Unified Diff: net/log/net_log_event_type_list.h

Issue 1212153002: Track all jobs associated with an HttpStreamRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/log/net_log_event_type_list.h
diff --git a/net/log/net_log_event_type_list.h b/net/log/net_log_event_type_list.h
index 23088d4b58924740586c3930b6609edb49aabc28..c8b48bff63f2a68f9b613d485b683b65a36ad607 100644
--- a/net/log/net_log_event_type_list.h
+++ b/net/log/net_log_event_type_list.h
@@ -969,6 +969,13 @@ EVENT_TYPE(HTTP_STREAM_REQUEST)
// Measures the time taken to execute the HttpStreamFactoryImpl::Job
EVENT_TYPE(HTTP_STREAM_JOB)
+// Identifies the NetLog::Source() for a Job started by the Request.
+// The event parameters are:
+// {
+// "source_dependency": <Source identifier for Job we started>,
+// }
+EVENT_TYPE(HTTP_STREAM_REQUEST_STARTED_JOB)
+
// Identifies the NetLog::Source() for the Job that fulfilled the Request.
// The event parameters are:
// {
@@ -992,6 +999,10 @@ EVENT_TYPE(HTTP_STREAM_JOB_BOUND_TO_REQUEST)
// }
EVENT_TYPE(HTTP_STREAM_REQUEST_PROTO)
+// Emitted when a Job is orphaned because the Request was bound to a different
+// Job.
mmenke 2015/06/25 23:25:20 The description could be clearer...Maybe "...becau
davidben 2015/06/26 16:35:43 Well, it's not necessarily that the job succeeded.
+EVENT_TYPE(HTTP_STREAM_JOB_ORPHANED)
+
// ------------------------------------------------------------------------
// HttpNetworkTransaction
// ------------------------------------------------------------------------
« net/http/http_stream_factory_impl_job.cc ('K') | « net/http/http_stream_factory_impl_request.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698