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

Unified Diff: third_party/WebKit/Source/core/page/FrameTree.h

Issue 2795673002: Added UseCounter for clearing browsing context name on cross-origin name (Closed)
Patch Set: Rebase-update Created 3 years, 9 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
Index: third_party/WebKit/Source/core/page/FrameTree.h
diff --git a/third_party/WebKit/Source/core/page/FrameTree.h b/third_party/WebKit/Source/core/page/FrameTree.h
index e04ddc85660b46014aec797dc1adbc6b5dfa6cd8..cd17bb31db0fab3975277dc22c1e240faa826676 100644
--- a/third_party/WebKit/Source/core/page/FrameTree.h
+++ b/third_party/WebKit/Source/core/page/FrameTree.h
@@ -36,9 +36,12 @@ class CORE_EXPORT FrameTree final {
explicit FrameTree(Frame* thisFrame);
~FrameTree();
- const AtomicString& name() const { return m_name; }
+ const AtomicString& name() const;
void setName(const AtomicString&);
+ // TODO(andypaicu): remove this once we have gathered the data
+ void experimentalSetNulledName();
+
Frame* parent() const;
Frame* top() const;
Frame* nextSibling() const;
@@ -63,6 +66,9 @@ class CORE_EXPORT FrameTree final {
AtomicString m_name; // The actual frame name (may be empty).
mutable unsigned m_scopedChildCount;
+
+ // TODO(andypaicu): remove this once we have gathered the data
+ bool m_experimentalSetNulledName;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698