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

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

Issue 1473013003: PlzNavigate: use a SiteInstance to intialize the ServiceWorkerNavigationHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@downloads-fix
Patch Set: Not depending on codereview.chromium.org/1467563002 anymore Created 5 years, 1 month 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.h
diff --git a/content/browser/frame_host/navigation_request.h b/content/browser/frame_host/navigation_request.h
index 0bd1312c565a15da1cb3d9a9738100eab9e26e2a..ccf9152d495ceaa7c99a9203a104a4a450899381 100644
--- a/content/browser/frame_host/navigation_request.h
+++ b/content/browser/frame_host/navigation_request.h
@@ -162,6 +162,9 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate {
void OnStartChecksComplete(NavigationThrottle::ThrottleCheckResult result);
void OnRedirectChecksComplete(NavigationThrottle::ThrottleCheckResult result);
+ // Called when the navigation is about to be sent to the IO thread.
+ void InitializeServiceWorkerHandleIfNeeded();
+
FrameTreeNode* frame_tree_node_;
// Initialized on creation of the NavigationRequest. Sent to the renderer when
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.cc ('k') | content/browser/frame_host/navigation_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698