Index: third_party/WebKit/public/web/WebFrameClient.h |
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h |
index 4741cd84d86d1c23dae5217c870f54114f3b428e..2beb12e5b62828cc39877cbc6d507fa5dec1e38d 100644 |
--- a/third_party/WebKit/public/web/WebFrameClient.h |
+++ b/third_party/WebKit/public/web/WebFrameClient.h |
@@ -182,6 +182,14 @@ public: |
// This frame has been set to enforce strict mixed content checking. |
virtual void didEnforceStrictMixedContentChecking() {} |
+ // This frame has been updated to a unique origin, which should be |
+ // considered potentially trustworthy if |
+ // |isPotentiallyTrustworthyUniqueOrigin| is true. TODO(estark): |
+ // this method only exists to support dynamic sandboxing via a CSP |
+ // delivered in a <meta> tag. This is not supposed to be allowed per |
+ // the CSP spec and should be ripped out. https://crbug.com/594645 |
+ virtual void didUpdateToUniqueOrigin(bool isPotentiallyTrustworthyUniqueOrigin) {} |
+ |
// The sandbox flags have changed for a child frame of this frame. |
virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags flags) { } |