summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-15 00:36:54 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-15 00:36:54 +0000
commit429e1ec2b634ce856c43f077ae6d18d537fc86f2 (patch)
tree42df518dba3797644bbbdf6ec5e05fbd85d7d9d4 /net/base
parenta938b706f6a17ffe41143c0637f4e713467894d0 (diff)
downloadchromium_src-429e1ec2b634ce856c43f077ae6d18d537fc86f2.zip
chromium_src-429e1ec2b634ce856c43f077ae6d18d537fc86f2.tar.gz
chromium_src-429e1ec2b634ce856c43f077ae6d18d537fc86f2.tar.bz2
SPDY: Add push streams to the NetLog.
For streams that already have delegates, they have their own NetLogs so use those. For streams that don't have delegates, just write out to the session's NetLog. TODO(willchan): Use a different event type once the SpdySession NetLog tracker is landed. Review URL: http://codereview.chromium.org/2101003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47346 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/net_log_event_type_list.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h
index 7a75f26..d849611 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -378,6 +378,16 @@ EVENT_TYPE(SPDY_TRANSACTION_READ_BODY)
// }
EVENT_TYPE(SPDY_STREAM_SYN_STREAM)
+// This event is sent for a SPDY SYN_STREAM pushed by the server, where a
+// URLRequest is already waiting for the stream.
+// The following parameters are attached:
+// {
+// "flags": <The control frame flags>
+// "headers": <The list of header:value pairs>
+// "id": <The stream id>
+// }
+EVENT_TYPE(SPDY_STREAM_PUSHED_SYN_STREAM)
+
// Measures the time taken to send headers on a stream.
EVENT_TYPE(SPDY_STREAM_SEND_HEADERS)