Index: content/browser/frame_host/render_frame_host_impl.h |
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h |
index 70ef6ffe2de0f5526d0f85b5744bf106d477ee71..313bfe47d6b775444350a0667a3ca4227ea2412a 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -271,10 +271,14 @@ class CONTENT_EXPORT RenderFrameHostImpl |
// Load the specified URL; this is a shortcut for Navigate(). |
void NavigateToURL(const GURL& url); |
- // Treat this prospective navigation as thought it originated from the |
- // frame. Used, e.g., for a navigation request that originated from |
- // a RemoteFrame. |
- void OpenURL(const FrameHostMsg_OpenURL_Params& params); |
+ // Treat this prospective navigation as though it originated from the frame. |
+ // Used, e.g., for a navigation request that originated from a RemoteFrame. |
+ // |source_site_instance| is the SiteInstance of the frame that initiated the |
+ // navigation. |
+ // TODO(creis): Remove this method and have RenderFrameProxyHost call |
+ // RequestOpenURL with its FrameTreeNode. |
+ void OpenURL(const FrameHostMsg_OpenURL_Params& params, |
+ SiteInstance* source_site_instance); |
// Stop the load in progress. |
void Stop(); |