summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authormbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-30 05:23:06 +0000
committermbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-30 05:23:06 +0000
commit6cd3bd20cd448bc1bca33748395bf4381dfb7fc6 (patch)
tree1f51c74ac1b2f56e29110ff6bf683fbfeb6d5441 /net/base
parent23114b4023e75494403e7c991e5707590a77ee7f (diff)
downloadchromium_src-6cd3bd20cd448bc1bca33748395bf4381dfb7fc6.zip
chromium_src-6cd3bd20cd448bc1bca33748395bf4381dfb7fc6.tar.gz
chromium_src-6cd3bd20cd448bc1bca33748395bf4381dfb7fc6.tar.bz2
Add logging to the spdy session pool.
BUG=none TEST=none Review URL: http://codereview.chromium.org/3280003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57833 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/net_log_event_type_list.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h
index 5c495f0..459b3fb 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -524,6 +524,10 @@ EVENT_TYPE(HTTP_TRANSACTION_DRAIN_BODY_FOR_AUTH_RESTART)
// ------------------------------------------------------------------------
// The start/end of a SpdySession.
+// {
+// "host": <The host-port string>,
+// "proxy": <The Proxy PAC string>,
+// }
EVENT_TYPE(SPDY_SESSION)
// On sending a SPDY SETTINGS frame.
@@ -558,6 +562,34 @@ EVENT_TYPE(SPDY_SESSION_GOAWAY)
EVENT_TYPE(SPDY_SESSION_PUSHED_SYN_STREAM)
// ------------------------------------------------------------------------
+// SpdySessionPool
+// ------------------------------------------------------------------------
+
+// This event indicates the pool is reusing an existing session
+// {
+// "id": <The session id>,
+// }
+EVENT_TYPE(SPDY_SESSION_POOL_FOUND_EXISTING_SESSION)
+
+// This event indicates the pool created a new session
+// {
+// "id": <The session id>,
+// }
+EVENT_TYPE(SPDY_SESSION_POOL_CREATED_NEW_SESSION)
+
+// This event indicates that a SSL socket has been upgraded to a SPDY session.
+// {
+// "id": <The session id>,
+// }
+EVENT_TYPE(SPDY_SESSION_POOL_IMPORTED_SESSION_FROM_SOCKET)
+
+// This event indicates that the session has been removed.
+// {
+// "id": <The session id>,
+// }
+EVENT_TYPE(SPDY_SESSION_POOL_REMOVE_SESSION)
+
+// ------------------------------------------------------------------------
// SpdyStream
// ------------------------------------------------------------------------