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

Unified Diff: content/browser/frame_host/navigation_request.cc

Issue 2857213005: PlzNavigate: implement process reuse for ServiceWorkers (Closed)
Patch Set: Created 3 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 55eb1ee156e9d58516b5d4eafbb640d93c2d3119..e783424656a17d35b71cc364ed6796bc55deaafe 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -715,6 +715,11 @@ void NavigationRequest::OnStartChecksComplete(
: frame_tree_node_->current_frame_host();
DCHECK(navigating_frame_host);
+ // Inform the NavigationHandle of the RenderProcessHost ID of the
+ // RenderProcessHost of the |navigating_frame_host|.
+ navigation_handle_->SetSpeculativeProcessID(
+ navigating_frame_host->GetProcess()->GetID(), !may_transfer_);
Charlie Reis 2017/05/15 03:41:52 Yes, let's revisit https://codereview.chromium.org
clamy 2017/05/16 14:50:45 The parameter was removed, though we should revisi
+
BrowserContext* browser_context =
frame_tree_node_->navigator()->GetController()->GetBrowserContext();
StoragePartition* partition = BrowserContext::GetStoragePartition(

Powered by Google App Engine
This is Rietveld 408576698