| Index: content/browser/frame_host/render_frame_host_manager.h
|
| diff --git a/content/browser/frame_host/render_frame_host_manager.h b/content/browser/frame_host/render_frame_host_manager.h
|
| index da2d6548129220f1e2606a4acc5efe52b070ddb0..b3071d1b64fcd1c20496d27e8858908db35f8541 100644
|
| --- a/content/browser/frame_host/render_frame_host_manager.h
|
| +++ b/content/browser/frame_host/render_frame_host_manager.h
|
| @@ -505,6 +505,15 @@ class CONTENT_EXPORT RenderFrameHostManager
|
| bool InitRenderView(RenderViewHostImpl* render_view_host,
|
| RenderFrameProxyHost* proxy);
|
|
|
| + // Returns the SiteInstance that should be used to host the navigation handled
|
| + // by |navigation_request|.
|
| + // Note: the SiteInstance returned by this function may not have an initalized
|
| + // RenderProcessHost. It will only be initialized when GetProcess() is called
|
| + // on the SiteInstance. In particular, calling this function will never lead
|
| + // to a process being created for the navigation.
|
| + scoped_refptr<SiteInstance> GetSiteInstanceForNavigationRequest(
|
| + const NavigationRequest& navigation_request);
|
| +
|
| private:
|
| friend class NavigatorTestWithBrowserSideNavigation;
|
| friend class RenderFrameHostManagerTest;
|
|
|