Index: net/log/net_log_event_type_list.h |
diff --git a/net/log/net_log_event_type_list.h b/net/log/net_log_event_type_list.h |
index 6a26dc65bc0654a1fe8068d30257a12b388a7720..95ce66d594c7cc3ed4c791a8516bf6271efbb4e9 100644 |
--- a/net/log/net_log_event_type_list.h |
+++ b/net/log/net_log_event_type_list.h |
@@ -3019,3 +3019,35 @@ EVENT_TYPE(SAFE_BROWSING_CHECKING_URL) |
// "resumed_redirect", "unchecked_redirect"> |
// } |
EVENT_TYPE(SAFE_BROWSING_DEFERRED) |
+ |
+// Marks start of UploadDataStream that is logged on initialization. |
+// Contains the following infromation: |
+// { |
+// "result": <The initialization step result>, |
+// "is_eof_": <Shows whether there is an end of file or not> |
+// "is_chunked_": <Shows whether data is chunked or not>. |
mmenke
2016/08/10 20:44:50
Remove ending underscore (And from the correspondi
|
+// } |
+EVENT_TYPE(UPLOAD_DATA_STREAM_INIT) |
+ |
+// Marks start of UploadDataStream::Read. |
+// Contains the following information: |
+// { |
+// "result": <Result of reading. Should be 0 at this stage> |
+// "current_position": <Shows current read position>, |
+// "total_size": <Shows total content length>, |
+// "is_eof": <Shows whether there is an end of file or not>, |
+// "is_chunked": <Shows whether data is chunked or not>. |
+// } |
+EVENT_TYPE(UPLOAD_DATA_STREAM_START_READING) |
+ |
+// Marks start of UploadDataStream::Read. |
+// Contains the following information: |
+// { |
+// "result": <Result of reading. Result > 0 is bytes read. Result == 0 means |
+// the end of file. Result < 0 means an error.> |
+// "current_position": <Shows current read position>, |
+// "total_size": <Shows total content length>, |
+// "is_eof": <Shows whether there is an end of file or not>, |
+// "is_chunked": <Shows whether data is chunked or not>. |
+// } |
+EVENT_TYPE(UPLOAD_DATA_STREAM_READING_DONE) |