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

Unified Diff: content/browser/frame_host/navigation_request.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/frame_host/navigation_request.cc
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
index cd443ded992f399a6e0f57ff66bb5fa70799c328..ce8b2ae495b7e2c32ad298f8c3dd800d6596e94d 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -154,8 +154,9 @@ NavigationRequest::NavigationRequest(
bool parent_is_main_frame = !frame_tree_node->parent() ?
false : frame_tree_node->parent()->IsMainFrame();
info_.reset(new NavigationRequestInfo(
- common_params, begin_params, first_party_for_cookies,
- frame_tree_node->IsMainFrame(), parent_is_main_frame, body));
+ common_params, begin_params, first_party_for_cookies,
+ frame_tree_node->IsMainFrame(), parent_is_main_frame,
+ frame_tree_node->frame_tree_node_id(), body));
}
NavigationRequest::~NavigationRequest() {
« no previous file with comments | « content/browser/download/download_resource_handler.cc ('k') | content/browser/frame_host/navigation_request_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698