| 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 a53635fc8d3480da528dbfcaad5bde2ca9898196..e621a26fb5a750ca62288f283b66eb1a0d7a9ef4 100644
|
| --- a/net/base/net_log_event_type_list.h
|
| +++ b/net/base/net_log_event_type_list.h
|
| @@ -1451,6 +1451,53 @@ EVENT_TYPE(HTTP_PIPELINED_CONNECTION_RECEIVED_HEADERS)
|
| EVENT_TYPE(HTTP_PIPELINED_CONNECTION_STREAM_CLOSED)
|
|
|
| // ------------------------------------------------------------------------
|
| +// DownloadFile events.
|
| +// ------------------------------------------------------------------------
|
| +
|
| +// This event is created when a download file is opened, and lasts until
|
| +// the file is closed.
|
| +// The BEGIN event has the following parameters:
|
| +// {
|
| +// "file_name": The name of the file.
|
| +// "start_offset": The position at which to start writing.
|
| +// }
|
| +EVENT_TYPE(DOWNLOAD_FILE_OPENED)
|
| +
|
| +// This event is created when a download file is written to.
|
| +// {
|
| +// "bytes_in_write": Number of bytes written in this call.
|
| +// "bytes_so_far": Number of bytes written so far.
|
| +// }
|
| +EVENT_TYPE(DOWNLOAD_FILE_WRITTEN)
|
| +
|
| +// This event is created when a download file is renamed.
|
| +// {
|
| +// "old_filename": Old filename.
|
| +// "new_filename": New filename.
|
| +// }
|
| +EVENT_TYPE(DOWNLOAD_FILE_RENAMED)
|
| +
|
| +// This event is created when a download file is closed. This event is allowed
|
| +// to occur even if the file is not open.
|
| +EVENT_TYPE(DOWNLOAD_FILE_CLOSED)
|
| +
|
| +// This event is created when a download file is canceled.
|
| +EVENT_TYPE(DOWNLOAD_FILE_CANCELED)
|
| +
|
| +// This event is created when a download file is detached.
|
| +EVENT_TYPE(DOWNLOAD_FILE_DETACHED)
|
| +
|
| +// This event is created when a download file is deleted.
|
| +EVENT_TYPE(DOWNLOAD_FILE_DELETED)
|
| +
|
| +// This event is created when a download file operation has an error.
|
| +// {
|
| +// "operation": open, write, close, etc.
|
| +// "net_error": net::Error code.
|
| +// }
|
| +EVENT_TYPE(DOWNLOAD_FILE_ERROR)
|
| +
|
| +// ------------------------------------------------------------------------
|
| // FileStream events.
|
| // ------------------------------------------------------------------------
|
|
|
|
|