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

Unified Diff: net/base/net_log_event_type_list.h

Issue 6820057: Added TCPServerSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments 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
« no previous file with comments | « no previous file | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_log_event_type_list.h
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h
index 7e2ceb87932aeae1628c5d6a5a3420d9f45cdbd4..f9ab1b3e3ab7d3d5b175d0eb8993fbbc00845b8c 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -262,6 +262,19 @@ EVENT_TYPE(TCP_CONNECT)
// }
EVENT_TYPE(TCP_CONNECT_ATTEMPT)
+// The start/end of a TCP connect(). This corresponds with a call to
+// TCPServerSocket::Accept().
+//
+// The END event will contain the following parameters on success:
+// {
+// "address": <Remote address of the accepted connection>,
+// }
+// On failure it contains the following parameters
+// {
+// "net_error": <Net integer error code>,
+// }
+EVENT_TYPE(TCP_ACCEPT)
+
// Marks the begin/end of a socket (TCP/SOCKS/SSL).
EVENT_TYPE(SOCKET_ALIVE)
« no previous file with comments | « no previous file | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698