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

Unified Diff: chrome/browser/renderer_host/resource_request_details.cc

Issue 6025009: Get rid of RenderViewHostDelegate::Resource and dispatch the IPC messages dir... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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: chrome/browser/renderer_host/resource_request_details.cc
===================================================================
--- chrome/browser/renderer_host/resource_request_details.cc (revision 70223)
+++ chrome/browser/renderer_host/resource_request_details.cc (working copy)
@@ -4,6 +4,8 @@
#include "chrome/browser/renderer_host/resource_request_details.h"
+#include "chrome/browser/renderer_host/resource_dispatcher_host.h"
+#include "chrome/browser/renderer_host/resource_dispatcher_host_request_info.h"
#include "chrome/browser/worker_host/worker_service.h"
ResourceRequestDetails::ResourceRequestDetails(const net::URLRequest* request,
@@ -36,6 +38,9 @@
info->child_id(), &origin_child_id_, &temp)) {
origin_child_id_ = info->child_id();
}
+
+ ResourceDispatcherHost::RenderViewForRequest(
+ request, &render_process_id_, &render_view_id_);
}
ResourceRequestDetails::~ResourceRequestDetails() {}

Powered by Google App Engine
This is Rietveld 408576698