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

Unified Diff: net/log/net_log_event_type_list.h

Issue 2621983004: Improve HttpStreamFactory NetLog events (Closed)
Patch Set: Address Bence comments and change back to auto Created 3 years, 11 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_unittest.cc ('k') | net/log/net_log_source_type_list.h » ('j') | 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 4d0e96718c2377e27d834b083327cf63cf23bfe7..7948240ccb534ff16d34ae27c2eed17ef4033f3f 100644
--- a/net/log/net_log_event_type_list.h
+++ b/net/log/net_log_event_type_list.h
@@ -1089,6 +1089,23 @@ EVENT_TYPE(HTTP_STREAM_JOB_ORPHANED)
// }
EVENT_TYPE(HTTP_STREAM_JOB_DELAYED)
+// Marks the start/end of a HttpStreamFactoryImpl::JobController.
+// The following parameters are attached:
+// {
+// "url": <String of request URL>,
+// "is_preconnect": <True if controller is created for a preconnect.>,
+// }
+EVENT_TYPE(HTTP_STREAM_JOB_CONTROLLER)
+
+// Links a JobController with its user (a URL_REQUEST).
+// The event parameters are:
+// {
+// "source_dependency": <The source identifier for JobController if the
+// event is logged in URL_REQUEST or the source identifier for the
+// URL_REQUEST if the event is logged in HTTP_STREAM_JOB_CONTROLLER>,
+// }
+EVENT_TYPE(HTTP_STREAM_JOB_CONTROLLER_BOUND)
+
// ------------------------------------------------------------------------
// HttpNetworkTransaction
// ------------------------------------------------------------------------
« no previous file with comments | « net/http/http_stream_factory_impl_request_unittest.cc ('k') | net/log/net_log_source_type_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698