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

Unified Diff: net/log/net_log_event_type_list.h

Issue 1932853002: Log urls and headers in BIDIRECTIONAL_STREAM events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 8 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_log_util.cc ('k') | net/quic/quic_chromium_client_session.cc » ('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 1f7a46888419df00552f00bff47e9be8067d9599..e699e0c035014914d39a7cc0fdbb7a456250ed0f 100644
--- a/net/log/net_log_event_type_list.h
+++ b/net/log/net_log_event_type_list.h
@@ -1170,6 +1170,15 @@ EVENT_TYPE(HTTP_TRANSACTION_RESTART_AFTER_ERROR)
// BidirectionalStream
// ------------------------------------------------------------------------
+// Marks the creation/destruction of a net::BidirectionalStream.
+// The following parameters are attached:
+// {
+// "url": <The URL being used>,
+// "method": <The HTTP method being used>,
+// "headers": <The list of header:value pairs>,
+// }
+EVENT_TYPE(BIDIRECTIONAL_STREAM_ALIVE)
+
// The specified number of bytes were sent on the stream. Depending on the
// source of the event, may be logged either once the data is sent, or when it
// is queued to be sent.
@@ -1190,6 +1199,20 @@ EVENT_TYPE(BIDIRECTIONAL_STREAM_BYTES_SENT)
// }
EVENT_TYPE(BIDIRECTIONAL_STREAM_BYTES_RECEIVED)
+// This event is sent for receiving headers on the stream.
+// The following parameters are attached:
+// {
+// "headers": <The list of header:value pairs>,
+// }
+EVENT_TYPE(BIDIRECTIONAL_STREAM_RECV_HEADERS)
+
+// This event is sent for receiving trailers on the stream.
+// The following parameters are attached:
+// {
+// "headers": <The list of header:value pairs>,
+// }
+EVENT_TYPE(BIDIRECTIONAL_STREAM_RECV_TRAILERS)
+
// ------------------------------------------------------------------------
// SpdySession
// ------------------------------------------------------------------------
« no previous file with comments | « net/http/http_log_util.cc ('k') | net/quic/quic_chromium_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698