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

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: tweak comments 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
« no previous file with comments | « net/http/http_stream_factory_impl_request.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c9da99e9df32a3ce66568a515de62df83c851d5e 100644
--- a/net/log/net_log_event_type_list.h
+++ b/net/log/net_log_event_type_list.h
@@ -967,8 +967,25 @@ EVENT_TYPE(ENTRY_DOOM)
EVENT_TYPE(HTTP_STREAM_REQUEST)
// Measures the time taken to execute the HttpStreamFactoryImpl::Job
+// The event parameters are:
+// {
+// "source_dependency": <Source identifier for the Request with started
+// this Job>,
+// "original_url": <The URL to create a stream for>,
+// "url": <The URL actually being used, possibly different from
+// original_url if using an alternate service>,
+// "alternate_service": <The alternate service being used>,
+// "priority": <The priority of the 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 +1009,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. The orphaned Job will continue to run to completion.
+EVENT_TYPE(HTTP_STREAM_JOB_ORPHANED)
+
// ------------------------------------------------------------------------
// HttpNetworkTransaction
// ------------------------------------------------------------------------
« no previous file with comments | « 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