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..de74dff9a3fb95218a5cf0b2892ca171b61263fb 100644 |
--- a/net/log/net_log_event_type_list.h |
+++ b/net/log/net_log_event_type_list.h |
@@ -3019,3 +3019,34 @@ 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: |
mmenke
2016/08/16 15:40:06
"The END phase contains the following parameters:"
maksims (do not use this acc)
2016/08/16 18:45:37
Done.
|
+// { |
+// "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>. |
+// } |
+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_READ) |
+ |
+// Marks start of UploadDataStream::Read. |
+// Contains the following information: |
mmenke
2016/08/16 15:40:06
"The BEGIN phase contains the following parameters
maksims (do not use this acc)
2016/08/16 18:45:37
Done.
|
+// { |
+// "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>. |
mmenke
2016/08/16 15:40:06
only current_position is still here.
|
+// } |
mmenke
2016/08/16 15:40:06
document end phase paremter, which just has result
maksims (do not use this acc)
2016/08/16 18:45:37
Done.
|