summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-07 12:06:01 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-07 12:06:01 +0000
commit844f32c1415968b20107b8eca0ab829cc89773ea (patch)
tree977dcc03546d912f74ea938fd62f2bdaab92729c /net/base
parentd9b1af11d614109d75a0dd2c7809d6a2cd989142 (diff)
downloadchromium_src-844f32c1415968b20107b8eca0ab829cc89773ea.zip
chromium_src-844f32c1415968b20107b8eca0ab829cc89773ea.tar.gz
chromium_src-844f32c1415968b20107b8eca0ab829cc89773ea.tar.bz2
FTP: add net-internals logging.
BUG=128346 Review URL: https://chromiumcodereview.appspot.com/11377007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/net_log_event_type_list.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h
index 4cde922..2bdbae3 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)