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

Unified Diff: net/base/net_log_event_type_list.h

Issue 10392111: Use ByteStream in downloads system to decouple source and sink. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to LKGR. Created 8 years, 6 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/test_file_error_injector.cc ('k') | net/url_request/url_request_test_job.h » ('j') | 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 0b1ce8332cc6d315a1baba9ad498c2da1e31cd04..f30013b769d31514a7d77a268f7e83179b325e17 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -1579,11 +1579,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 stream between download source
+// and download file is drained.
// {
-// "byte_count": <Number of bytes written in this call>,
+// "stream_size": <Total size of all bytes drained from the stream>
+// "num_buffers": <How many separate buffers those bytes were in>
// }
-EVENT_TYPE(DOWNLOAD_FILE_WRITTEN)
+EVENT_TYPE(DOWNLOAD_STREAM_DRAINED)
// This event is created when a download file is renamed.
// {
« no previous file with comments | « content/test/test_file_error_injector.cc ('k') | net/url_request/url_request_test_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698