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

Unified Diff: content/child/resource_dispatcher.h

Issue 23583039: Convert a bunch of resource IPCs to be control messages. They didn't need to be routed. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove dcheck from RenderProcessHost instead Created 7 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 | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/child/resource_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher.h
===================================================================
--- content/child/resource_dispatcher.h (revision 221543)
+++ content/child/resource_dispatcher.h (working copy)
@@ -54,7 +54,7 @@
bool RemovePendingRequest(int request_id);
// Cancels a request in the pending_requests_ list.
- void CancelPendingRequest(int routing_id, int request_id);
+ void CancelPendingRequest(int request_id);
IPC::Sender* message_sender() const {
return message_sender_;
@@ -125,31 +125,26 @@
// Message response handlers, called by the message handler for this process.
void OnUploadProgress(
- const IPC::Message& message,
int request_id,
int64 position,
int64 size);
void OnReceivedResponse(int request_id, const ResourceResponseHead&);
void OnReceivedCachedMetadata(int request_id, const std::vector<char>& data);
void OnReceivedRedirect(
- const IPC::Message& message,
int request_id,
const GURL& new_url,
const ResourceResponseHead& response_head);
void OnSetDataBuffer(
- const IPC::Message& message,
int request_id,
base::SharedMemoryHandle shm_handle,
int shm_size,
base::ProcessId renderer_pid);
void OnReceivedData(
- const IPC::Message& message,
int request_id,
int data_offset,
int data_length,
int encoded_data_length);
void OnDownloadedData(
- const IPC::Message& message,
int request_id,
int data_len,
int encoded_data_length);
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/child/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698