Index: content/browser/frame_host/frame_tree_node.h |
diff --git a/content/browser/frame_host/frame_tree_node.h b/content/browser/frame_host/frame_tree_node.h |
index 5974fd29bf5b5ad638dd9c191630def26b0b8ceb..e144c6717160917f4ab045b4e731d6ce820d3794 100644 |
--- a/content/browser/frame_host/frame_tree_node.h |
+++ b/content/browser/frame_host/frame_tree_node.h |
@@ -14,7 +14,9 @@ |
#include "content/browser/frame_host/render_frame_host_impl.h" |
#include "content/browser/frame_host/render_frame_host_manager.h" |
#include "content/common/content_export.h" |
+#include "content/common/frame_replication_state.h" |
#include "url/gurl.h" |
+#include "url/origin.h" |
namespace content { |
@@ -49,6 +51,8 @@ class CONTENT_EXPORT FrameTreeNode { |
// Clears process specific-state in this node to prepare for a new process. |
void ResetForNewProcess(); |
+ void SetOriginFromURL(const GURL& url); |
Charlie Reis
2014/11/13 18:00:57
Perhaps this should be private and called from Set
alexmos
2014/11/18 18:25:32
This function isn't necessary anymore with the new
|
+ |
FrameTree* frame_tree() const { |
return frame_tree_; |
} |
@@ -87,6 +91,10 @@ class CONTENT_EXPORT FrameTreeNode { |
current_url_ = url; |
} |
+ const FrameReplicationState& current_replication_state() const { |
+ return replication_state_; |
+ } |
+ |
RenderFrameHostImpl* current_frame_host() const { |
return render_manager_.current_frame_host(); |
} |
@@ -131,6 +139,10 @@ class CONTENT_EXPORT FrameTreeNode { |
// NavigationController. |
GURL current_url_; |
+ // Track information that needs to be replicated to processes that are |
+ // rendering this frame remotely. |
Charlie Reis
2014/11/13 18:00:57
are rendering this frame remotely -> have proxies
alexmos
2014/11/18 18:25:32
Done.
|
+ FrameReplicationState replication_state_; |
+ |
DISALLOW_COPY_AND_ASSIGN(FrameTreeNode); |
}; |