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

Unified Diff: content/browser/loader/resource_request_info_impl.cc

Issue 1079163008: PlzNavigate: provide the FrameTreeNode ID to the network stack (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-unittests
Patch Set: Rebase + addressed Nasko's comments Created 5 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/loader/resource_request_info_impl.cc
diff --git a/content/browser/loader/resource_request_info_impl.cc b/content/browser/loader/resource_request_info_impl.cc
index 4d210729f53583b1acd506b8261b9b0b3ebdd8b3..20ce8d98cea9c631dfd396e810c0934062b839ea 100644
--- a/content/browser/loader/resource_request_info_impl.cc
+++ b/content/browser/loader/resource_request_info_impl.cc
@@ -46,6 +46,7 @@ void ResourceRequestInfo::AllocateForTesting(net::URLRequest* request,
PROCESS_TYPE_RENDERER, // process_type
render_process_id, // child_id
render_view_id, // route_id
+ -1, // frame_tree_node_id
0, // origin_pid
0, // request_id
render_frame_id, // render_frame_id
@@ -103,6 +104,7 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
int process_type,
int child_id,
int route_id,
+ int frame_tree_node_id,
int origin_pid,
int request_id,
int render_frame_id,
@@ -129,6 +131,7 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
process_type_(process_type),
child_id_(child_id),
route_id_(route_id),
+ frame_tree_node_id_(frame_tree_node_id),
origin_pid_(origin_pid),
request_id_(request_id),
render_frame_id_(render_frame_id),
« 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