Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Unified Diff: content/browser/frame_host/frame_tree_node.h

Issue 1098763003: Send origin updates to frame proxies when a frame navigates to new origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows builds (add missing base:: to UTF16toASCII) Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/frame_host/frame_tree_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7e1add1231f694ef0e37f29fb9f34bafd24ee55b..bcb77802c47b008b92f31004ac31db9c5ba406d6 100644
--- a/content/browser/frame_host/frame_tree_node.h
+++ b/content/browser/frame_host/frame_tree_node.h
@@ -93,10 +93,10 @@ class CONTENT_EXPORT FrameTreeNode {
current_url_ = url;
}
- void set_current_origin(const url::Origin& origin) {
- replication_state_.origin = origin;
- }
+ // Set the current origin and notify proxies about the update.
+ void SetCurrentOrigin(const url::Origin& origin);
+ // Set the current name and notify proxies about the update.
void SetFrameName(const std::string& name);
SandboxFlags effective_sandbox_flags() { return effective_sandbox_flags_; }
« no previous file with comments | « no previous file | content/browser/frame_host/frame_tree_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698