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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_unittest.cc

Issue 10501004: Refactor the guts of ResourceDispatcherHostImpl into a new class named (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/browser/renderer_host/resource_dispatcher_host_unittest.cc
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host_unittest.cc (revision 141889)
+++ content/browser/renderer_host/resource_dispatcher_host_unittest.cc (working copy)
@@ -936,7 +936,7 @@
CheckSuccessfulRequest(msgs[0], net::URLRequestTestJob::test_data_1());
CheckSuccessfulRequest(msgs[1], net::URLRequestTestJob::test_data_3());
- EXPECT_TRUE(host_.blocked_requests_map_.empty());
+ EXPECT_TRUE(host_.blocked_loaders_map_.empty());
}
// Tests that blocked requests don't leak when the ResourceDispatcherHost goes
@@ -1378,7 +1378,7 @@
MakeTestRequest(render_view_id, request_id, GURL("http://example.com/blah"));
GlobalRequestID global_request_id(filter_->child_id(), request_id);
- host_.MarkAsTransferredNavigation(host_.GetURLRequest(global_request_id));
+ host_.MarkAsTransferredNavigation(global_request_id);
// And now simulate a cancellation coming from the renderer.
ResourceHostMsg_CancelRequest msg(filter_->child_id(), request_id);

Powered by Google App Engine
This is Rietveld 408576698