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 dce2dbb2e01b3e9753edb6f8c3d53da8487be9fb..52d07c2ddbcfbcb6b14901d0fdff92d040fd21f0 100644 |
--- a/content/browser/frame_host/render_frame_host_manager.h |
+++ b/content/browser/frame_host/render_frame_host_manager.h |
@@ -229,6 +229,7 @@ class CONTENT_EXPORT RenderFrameHostManager : public NotificationObserver { |
// Helper method to create and initialize a RenderFrameHost. If |swapped_out| |
// is true, it will be initially placed on the swapped out hosts list. |
// Otherwise, it will be used for a pending cross-site navigation. |
+ // Returns the routing id of the *view* associated with the frame. |
int CreateRenderFrame(SiteInstance* instance, |
int opener_route_id, |
bool swapped_out, |
@@ -279,6 +280,10 @@ class CONTENT_EXPORT RenderFrameHostManager : public NotificationObserver { |
void ClearPendingShutdownRFHForSiteInstance(int32 site_instance_id, |
RenderFrameHostImpl* rfh); |
+ // Deletes any proxy hosts associated with this node. Used during destruction |
+ // of WebContentsImpl. |
+ void ResetProxyHosts(); |
+ |
private: |
friend class RenderFrameHostManagerTest; |
friend class TestWebContents; |