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

Unified Diff: content/common/resource_messages.h

Issue 23696002: Propagate the encoded data length through OnDownloadData delegate method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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/child/resource_dispatcher_unittest.cc ('k') | content/renderer/media/buffered_resource_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_messages.h
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
index 0cf7bc82fe1e52759eec714dae005628d267fbd9..b6f1ac6f02a3154e1ed5517b303c7de8581176e5 100644
--- a/content/common/resource_messages.h
+++ b/content/common/resource_messages.h
@@ -255,9 +255,10 @@ IPC_MESSAGE_ROUTED4(ResourceMsg_DataReceived,
// Sent when some data from a resource request has been downloaded to
// file. This is only called in the 'download_to_file' case and replaces
// ResourceMsg_DataReceived in the call sequence in that case.
-IPC_MESSAGE_ROUTED2(ResourceMsg_DataDownloaded,
+IPC_MESSAGE_ROUTED3(ResourceMsg_DataDownloaded,
int /* request_id */,
- int /* data_len */)
+ int /* data_len */,
+ int /* encoded_data_length */)
// Sent when the request has been completed.
IPC_MESSAGE_ROUTED5(ResourceMsg_RequestComplete,
« no previous file with comments | « content/child/resource_dispatcher_unittest.cc ('k') | content/renderer/media/buffered_resource_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698