| 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..91b6947ba6a130412d2d9aa08764ed6e89640d99 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(String* errorMessage) const;
|
| +
|
| protected:
|
| Frame(FrameClient*, FrameHost*, FrameOwner*);
|
|
|
|
|