Index: third_party/WebKit/Source/core/frame/Frame.h |
diff --git a/third_party/WebKit/Source/core/frame/Frame.h b/third_party/WebKit/Source/core/frame/Frame.h |
index 423e8824724299e26da638564f437a9c5d755cea..77236cedcf16d6d83fd8026166db23b94f420351 100644 |
--- a/third_party/WebKit/Source/core/frame/Frame.h |
+++ b/third_party/WebKit/Source/core/frame/Frame.h |
@@ -136,6 +136,15 @@ public: |
virtual void didChangeVisibilityState(); |
+ // Use Document::isSecureContext() instead of this function to |
+ // check whether a context is secure. |
+ // |
+ // Returns whether it's possible for a descendant of this frame to be a |
+ // secure context, not considering scheme exceptions (since any |
+ // frame can be a secure context if it has a scheme exception). See |
+ // Document::isSecureContextImpl for more details. |
+ bool canHaveSecureChild() const; |
+ |
protected: |
Frame(FrameClient*, FrameHost*, FrameOwner*); |