Index: content/browser/frame_host/render_frame_proxy_host.h |
diff --git a/content/browser/frame_host/render_frame_proxy_host.h b/content/browser/frame_host/render_frame_proxy_host.h |
index ed3235ca98bf39c70a5ebb4571efd99e42452b8a..2148b5bddf9ab72d1b6a4c263cd4be69eb4e93fd 100644 |
--- a/content/browser/frame_host/render_frame_proxy_host.h |
+++ b/content/browser/frame_host/render_frame_proxy_host.h |
@@ -106,6 +106,13 @@ class RenderFrameProxyHost |
// action in another renderer process. |
void DisownOpener(); |
+ void set_render_frame_proxy_created(bool created) { |
+ render_frame_proxy_created_ = created; |
+ } |
+ |
+ // Returns if the renderer/ side counterpart for this proxy is alive. |
+ bool is_render_frame_proxy_live() { return render_frame_proxy_created_; } |
+ |
private: |
// IPC Message handlers. |
void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); |
@@ -119,6 +126,9 @@ class RenderFrameProxyHost |
// The node in the frame tree where this proxy is located. |
FrameTreeNode* frame_tree_node_; |
+ // True if we have a live RenderFrameProxy for this host. |
+ bool render_frame_proxy_created_; |
+ |
// When a RenderFrameHost is in a different process from its parent in the |
// frame tree, this class connects its associated RenderWidgetHostView |
// to this RenderFrameProxyHost, which corresponds to the same frame in the |