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

Unified Diff: content/browser/loader/resource_request_info_impl.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
Index: content/browser/loader/resource_request_info_impl.cc
===================================================================
--- content/browser/loader/resource_request_info_impl.cc (revision 238847)
+++ content/browser/loader/resource_request_info_impl.cc (working copy)
@@ -37,6 +37,7 @@
render_view_id, // route_id
0, // origin_pid
0, // request_id
+ MSG_ROUTING_NONE, // render_frame_id
resource_type == ResourceType::MAIN_FRAME, // is_main_frame
0, // frame_id
false, // parent_is_main_frame
@@ -90,6 +91,7 @@
int route_id,
int origin_pid,
int request_id,
+ int render_frame_id,
bool is_main_frame,
int64 frame_id,
bool parent_is_main_frame,
@@ -112,6 +114,7 @@
route_id_(route_id),
origin_pid_(origin_pid),
request_id_(request_id),
+ render_frame_id_(render_frame_id),
is_main_frame_(is_main_frame),
frame_id_(frame_id),
parent_is_main_frame_(parent_is_main_frame),
@@ -154,6 +157,10 @@
return request_id_;
}
+int ResourceRequestInfoImpl::GetRenderFrameID() const {
+ return render_frame_id_;
+}
+
bool ResourceRequestInfoImpl::IsMainFrame() const {
return is_main_frame_;
}
« no previous file with comments | « content/browser/loader/resource_request_info_impl.h ('k') | content/browser/loader/resource_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698