Index: chrome/common/resource_dispatcher.h |
=================================================================== |
--- chrome/common/resource_dispatcher.h (revision 60837) |
+++ chrome/common/resource_dispatcher.h (working copy) |
@@ -82,6 +82,10 @@ |
}; |
typedef base::hash_map<int, PendingRequestInfo> PendingRequestList; |
+ // Helper to lookup the info based on the request_id. |
+ // May return NULL if the request as been canceled from the client side. |
+ PendingRequestInfo* GetPendingRequestInfo(int request_id); |
+ |
// Message response handlers, called by the message handler for this process. |
void OnUploadProgress( |
const IPC::Message& message, |
@@ -100,6 +104,10 @@ |
int request_id, |
base::SharedMemoryHandle data, |
int data_len); |
+ void OnDownloadedData( |
+ const IPC::Message& message, |
+ int request_id, |
+ int data_len); |
void OnRequestComplete( |
int request_id, |
const URLRequestStatus& status, |