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

Unified Diff: net/base/net_log_event_type_list.h

Issue 6800009: Attn: Mike Belshe Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 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
Index: net/base/net_log_event_type_list.h
===================================================================
--- net/base/net_log_event_type_list.h (revision 80449)
+++ net/base/net_log_event_type_list.h (working copy)
@@ -262,7 +262,38 @@
// }
EVENT_TYPE(TCP_CONNECT_ATTEMPT)
-// Marks the begin/end of a socket (TCP/SOCKS/SSL).
+// The start/end of a SCTP connect(). This corresponds with a call to
+// SCTPClientSocket::Connect().
+//
+// The START event contains these parameters:
+//
+// {
+// "address_list": <List of network address strings>
+// }
+//
+// And the END event will contain the following parameters on failure:
+//
+// {
+// "net_error": <Net integer error code>
+// }
+EVENT_TYPE(SCTP_CONNECT)
+
+// Nested within SCTP_CONNECT, there may be multiple attempts to connect
+// to the individual addresses. The START event will describe the
+// address the attempt is for:
+//
+// {
+// "address": <String of the network address>
+// }
+//
+// And the END event will contain the system error code if it failed:
+//
+// {
+// "os_error": <Integer error code the operating system returned>
+// }
+EVENT_TYPE(SCTP_CONNECT_ATTEMPT)
+
+// Marks the begin/end of a socket (TCP/SCTP/SOCKS/SSL).
EVENT_TYPE(SOCKET_ALIVE)
// This event is logged to the socket stream whenever the socket is
@@ -438,7 +469,21 @@
// }
EVENT_TYPE(TCP_CLIENT_SOCKET_POOL_REQUESTED_SOCKETS)
+// This event simply describes the host:port that were requested from the
+// socket pool. Its parameters are:
+// {
+// "host_and_port": <String encoding the host and port>
+// }
+EVENT_TYPE(SCTP_CLIENT_SOCKET_POOL_REQUESTED_SOCKET)
+// This event simply describes the host:port that were requested from the
+// socket pool. Its parameters are:
+// {
+// "host_and_port": <String encoding the host and port>
+// }
+EVENT_TYPE(SCTP_CLIENT_SOCKET_POOL_REQUESTED_SOCKETS)
+
+
// A backup socket is created due to slow connect
EVENT_TYPE(SOCKET_BACKUP_CREATED)

Powered by Google App Engine
This is Rietveld 408576698