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

Unified Diff: content/child/resource_dispatcher.cc

Issue 107183002: Move more of the plugin code in the renderer to use RenderFrame instead of RenderView. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 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
« no previous file with comments | « content/child/request_extra_data.cc ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher.cc
===================================================================
--- content/child/resource_dispatcher.cc (revision 238847)
+++ content/child/resource_dispatcher.cc (working copy)
@@ -129,6 +129,7 @@
if (request_info.extra_data) {
RequestExtraData* extra_data =
static_cast<RequestExtraData*>(request_info.extra_data);
+ request_.render_frame_id = extra_data->render_frame_id();
request_.is_main_frame = extra_data->is_main_frame();
request_.frame_id = extra_data->frame_id();
request_.parent_is_main_frame = extra_data->parent_is_main_frame();
@@ -143,6 +144,7 @@
extra_data->transferred_request_request_id();
frame_origin_ = extra_data->frame_origin();
} else {
+ request_.render_frame_id = MSG_ROUTING_NONE;
request_.is_main_frame = false;
request_.frame_id = -1;
request_.parent_is_main_frame = false;
« no previous file with comments | « content/child/request_extra_data.cc ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698