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

Unified Diff: chrome/common/render_messages_internal.h

Issue 3165062: Deletable file references. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 | « chrome/browser/renderer_host/sync_resource_handler.cc ('k') | chrome/common/resource_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 60222)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -303,13 +303,6 @@
int /* request_id */,
std::vector<char> /* data */)
- // Sent as download progress is being made, size of the resource may be
- // unknown, in that case |size| is -1.
- IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DownloadProgress,
- int /* request_id */,
- int64 /* position */,
- int64 /* size */)
-
// Sent as upload progress is being made.
IPC_MESSAGE_ROUTED3(ViewMsg_Resource_UploadProgress,
int /* request_id */,
@@ -331,6 +324,13 @@
base::SharedMemoryHandle /* data */,
int /* data_len */)
+ // 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
+ // ViewMsg_Resource_DataReceived in the call sequence in that case.
+ IPC_MESSAGE_ROUTED2(ViewMsg_Resource_DataDownloaded,
+ int /* request_id */,
+ int /* data_len */)
+
// Sent when the request has been completed.
IPC_MESSAGE_ROUTED4(ViewMsg_Resource_RequestComplete,
int /* request_id */,
@@ -1862,6 +1862,14 @@
IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK,
int /* request_id */)
+ // Sent when the renderer has processed a DataDownloaded message.
+ IPC_MESSAGE_ROUTED1(ViewHostMsg_DataDownloaded_ACK,
+ int /* request_id */)
+
+ // Sent when the renderer process deletes a resource loader.
+ IPC_MESSAGE_CONTROL1(ViewHostMsg_ResourceLoaderDeleted,
+ int /* request_id */)
+
// Sent when a provisional load on the main frame redirects.
IPC_MESSAGE_ROUTED3(ViewHostMsg_DidRedirectProvisionalLoad,
int /* page_id */,
@@ -1869,11 +1877,6 @@
GURL /* url redirected to */)
// Sent by the renderer process to acknowledge receipt of a
- // DownloadProgress message.
- IPC_MESSAGE_ROUTED1(ViewHostMsg_DownloadProgress_ACK,
- int /* request_id */)
-
- // Sent by the renderer process to acknowledge receipt of a
// UploadProgress message.
IPC_MESSAGE_ROUTED1(ViewHostMsg_UploadProgress_ACK,
int /* request_id */)
« no previous file with comments | « chrome/browser/renderer_host/sync_resource_handler.cc ('k') | chrome/common/resource_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698