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

Unified Diff: net/base/net_log_event_type_list.h

Issue 10074001: Initial implementation of the ByteStream refactor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Checkpoint and merge to LKGR. Created 8 years, 8 months 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 | « content/test/net/url_request_slow_download_job.cc ('k') | no next file » | 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 757fb4c79fd8164263be785a1a5f16c697df543c..921a3163ba374e70032da1fe15dd8cbf6479bf54 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -1575,11 +1575,13 @@ EVENT_TYPE(DOWNLOAD_ITEM_CANCELED)
// }
EVENT_TYPE(DOWNLOAD_FILE_OPENED)
-// This event is created when a download file is written to.
+// This event is created when the pipe between download source
+// and download file is drained.
// {
-// "byte_count": <Number of bytes written in this call>,
+// "pipe_size": <Total size of all bytes drained from the pipe>
+// "num_buffers": <How many separate buffers those bytes were in>
// }
-EVENT_TYPE(DOWNLOAD_FILE_WRITTEN)
+EVENT_TYPE(DOWNLOAD_PIPE_DRAINED)
// This event is created when a download file is renamed.
// {
« no previous file with comments | « content/test/net/url_request_slow_download_job.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698