summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-23 20:49:15 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-23 20:49:15 +0000
commitd245c349f07a4b3ce71e0e921c7ff47ed72a88ea (patch)
treee545847adf8030830a0382046db74b689e7fe46c /net/base
parentb14fac6394828667f83b599c98ffd7a7469fba92 (diff)
downloadchromium_src-d245c349f07a4b3ce71e0e921c7ff47ed72a88ea.zip
chromium_src-d245c349f07a4b3ce71e0e921c7ff47ed72a88ea.tar.gz
chromium_src-d245c349f07a4b3ce71e0e921c7ff47ed72a88ea.tar.bz2
SPDY - Better SPDY error logging in NetLog.
Moved all logging messages into net_log_.AddEvents. BUG=112657 R=willchan TEST=network unit tests. Review URL: http://codereview.chromium.org/9424041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123317 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/net_log_event_type_list.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h
index b6b02d3..ceb4a72 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -1056,7 +1056,8 @@ EVENT_TYPE(SPDY_SESSION_STALLED_ON_SEND_WINDOW)
// Session is closing
// {
-// "status": <The error status of the closure>,
+// "status" : <The error status of the closure>,
+// "description": <The textual description for the closure>,
// }
EVENT_TYPE(SPDY_SESSION_CLOSE)
@@ -1125,6 +1126,14 @@ EVENT_TYPE(SPDY_STREAM_UPDATE_SEND_WINDOW)
// }
EVENT_TYPE(SPDY_STREAM_UPDATE_RECV_WINDOW)
+// This event indicates a stream error
+// {
+// "id": <The stream id>,
+// "status": <The error status>,
+// "description": <The textual description for the error>,
+// }
+EVENT_TYPE(SPDY_STREAM_ERROR)
+
// ------------------------------------------------------------------------
// HttpStreamParser
// ------------------------------------------------------------------------