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

Unified Diff: content/common/resource_messages.h

Issue 6771043: Enabled actual transfer size in chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits Created 9 years, 9 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
Index: content/common/resource_messages.h
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
index cb40e1f89f6f201483d5dae4b260debb5602f866..f39ed8cf6888f67b62397e62e1a15b4feca8264d 100644
--- a/content/common/resource_messages.h
+++ b/content/common/resource_messages.h
@@ -121,10 +121,11 @@ IPC_MESSAGE_ROUTED3(ResourceMsg_ReceivedRedirect,
// Sent when some data from a resource request is ready. The handle should
// already be mapped into the process that receives this message.
-IPC_MESSAGE_ROUTED3(ResourceMsg_DataReceived,
+IPC_MESSAGE_ROUTED4(ResourceMsg_DataReceived,
int /* request_id */,
base::SharedMemoryHandle /* data */,
- int /* data_len */)
+ int /* data_len */,
+ int /* length_received */)
// 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

Powered by Google App Engine
This is Rietveld 408576698