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

Unified Diff: content/public/test/render_view_fake_resources_test.cc

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/common/resource_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/render_view_fake_resources_test.cc
===================================================================
--- content/public/test/render_view_fake_resources_test.cc (revision 221543)
+++ content/public/test/render_view_fake_resources_test.cc (working copy)
@@ -163,7 +163,7 @@
response_head.headers = new net::HttpResponseHeaders(headers);
response_head.mime_type = "text/html";
ASSERT_TRUE(channel_->Send(new ResourceMsg_ReceivedResponse(
- message.routing_id(), request_id, response_head)));
+ request_id, response_head)));
base::SharedMemory shared_memory;
ASSERT_TRUE(shared_memory.CreateAndMapAnonymous(body.size()));
@@ -174,21 +174,18 @@
&handle));
ASSERT_TRUE(channel_->Send(new ResourceMsg_SetDataBuffer(
- message.routing_id(),
request_id,
handle,
body.size(),
0)));
ASSERT_TRUE(channel_->Send(new ResourceMsg_DataReceived(
- message.routing_id(),
request_id,
0,
body.size(),
body.size())));
ASSERT_TRUE(channel_->Send(new ResourceMsg_RequestComplete(
- message.routing_id(),
request_id,
net::OK,
false,
« no previous file with comments | « content/common/resource_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698