Chromium Code Reviews| 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 a4b2e010dec67638a18330a2bb638e80b5ca2e2b..42d01e8e9420ad08fe791f5ac9eacddac4376fb4 100644 |
| --- a/content/browser/frame_host/navigation_request.h |
| +++ b/content/browser/frame_host/navigation_request.h |
| @@ -269,6 +269,14 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate { |
| // The type of SiteInstance associated with this navigation. |
| AssociatedSiteInstanceType associated_site_instance_type_; |
| + // Stores the SiteInstance created on redirects to check if there is an |
| + // existing RenderProcessHost that can commit the navigation so that the |
| + // renderer process is not deleted while the navigation is ongoing. If the |
| + // SiteInstance was a brand new SiteInstance, it is not stored. |
| + // TODO(clamy): We should use this at the navigation start as well, and delete |
| + // the speculative RenderFrameHost. |
|
Charlie Reis
2017/06/27 18:46:35
I'm not entirely sure we want to do this TODO. I
clamy
2017/06/28 14:08:32
I have removed the TODO.
|
| + scoped_refptr<SiteInstance> speculative_site_instance_; |
|
Charlie Reis
2017/06/27 18:46:35
Hmm, is there a reason we need both this and dest_
clamy
2017/06/28 14:08:32
dest_site_instance_ comes from the NavigationEntry
Charlie Reis
2017/06/28 17:05:22
Acknowledged.
|
| + |
| // Whether the request may be transferred to a different process upon commit. |
| // True for browser-initiated navigations and renderer-inititated navigations |
| // started via the OpenURL path. |