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

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

Issue 10332130: Use defer out-params instead of ResourceDispatcherHostImpl::PauseRequest(...true) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 137742)
+++ content/browser/renderer_host/resource_dispatcher_host_unittest.cc (working copy)
@@ -505,11 +505,12 @@
}
void ResourceDispatcherHostTest::PauseRequest(int request_id) {
+ // TODO(darin): Replace with a ResourceThrottle implementation.
host_.PauseRequest(filter_->child_id(), request_id, true);
}
void ResourceDispatcherHostTest::ResumeRequest(int request_id) {
- host_.PauseRequest(filter_->child_id(), request_id, false);
+ host_.ResumeDeferredRequest(filter_->child_id(), request_id);
}
void ResourceDispatcherHostTest::CompleteStartRequest(int request_id) {
« no previous file with comments | « content/browser/renderer_host/resource_dispatcher_host_impl.cc ('k') | content/browser/renderer_host/resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698