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

Unified Diff: net/base/net_log_event_type_list.h

Issue 11377007: FTP: add net-internals logging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years, 1 month 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/ftp/ftp_ctrl_response_buffer.h » ('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 4cde922dfa19ec32776960a4fc245672b308016a..2bdbae325006ad6a56407d417be735a8943a504b 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -1725,3 +1725,36 @@ EVENT_TYPE(FILE_STREAM_ERROR)
// if any>
// }
EVENT_TYPE(IPV6_PROBE_RUNNING)
+
+// -----------------------------------------------------------------------------
+// FTP events.
+// -----------------------------------------------------------------------------
+
+// This event is created when an FTP command is sent. It contains following
+// parameters:
+// {
+// "command": <String - the command sent to remote server>
+// }
+EVENT_TYPE(FTP_COMMAND_SENT)
+
+// This event is created when FTP control connection is made. It contains
+// following parameters:
+// {
+// "source_dependency": <id of log for control connection socket>
+// }
+EVENT_TYPE(FTP_CONTROL_CONNECTION)
+
+// This event is created when FTP data connection is made. It contains
+// following parameters:
+// {
+// "source_dependency": <id of log for data connection socket>
+// }
+EVENT_TYPE(FTP_DATA_CONNECTION)
+
+// This event is created when FTP control connection response is processed.
+// It contains following parameters:
+// {
+// "lines": <list of strings - each representing a line of the response>
+// "status_code": <numeric status code of the response>
+// }
+EVENT_TYPE(FTP_CONTROL_RESPONSE)
« no previous file with comments | « no previous file | net/ftp/ftp_ctrl_response_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698