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

Unified Diff: third_party/WebKit/Source/core/frame/Frame.h

Issue 2009453002: service worker: Don't control a subframe of an insecure context (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cover plznavigation case too Created 4 years, 7 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/frame/Frame.h
diff --git a/third_party/WebKit/Source/core/frame/Frame.h b/third_party/WebKit/Source/core/frame/Frame.h
index 3a93578cf6ad3f63b7179c3ea75bbc86786bc899..25ab9c832d9dbb46104c5771b5d57c3b400f92df 100644
--- a/third_party/WebKit/Source/core/frame/Frame.h
+++ b/third_party/WebKit/Source/core/frame/Frame.h
@@ -136,6 +136,10 @@ public:
virtual void didChangeVisibilityState();
+ // Returns whether it's possible for a descendent of this frame to
+ // be a secure context.
+ bool canHaveSecureChild(String* errorMessage) const;
+
protected:
Frame(FrameClient*, FrameHost*, FrameOwner*);

Powered by Google App Engine
This is Rietveld 408576698