Index: third_party/WebKit/Source/core/frame/FrameOwner.h |
diff --git a/third_party/WebKit/Source/core/frame/FrameOwner.h b/third_party/WebKit/Source/core/frame/FrameOwner.h |
index 103c02a2a080edaeee31627f0237898f914d7f75..bbf42779716e8056deb70cad41cebfb4084786b7 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameOwner.h |
+++ b/third_party/WebKit/Source/core/frame/FrameOwner.h |
@@ -51,6 +51,7 @@ class CORE_EXPORT FrameOwner : public GarbageCollectedMixin { |
virtual bool isDisplayNone() const = 0; |
virtual AtomicString csp() const = 0; |
virtual const WebVector<WebFeaturePolicyFeature>& allowedFeatures() const = 0; |
+ virtual const WebParsedFeaturePolicy& containerPolicy() const = 0; |
}; |
// TODO(dcheng): This class is an internal implementation detail of provisional |
@@ -88,6 +89,10 @@ class CORE_EXPORT DummyFrameOwner |
DEFINE_STATIC_LOCAL(WebVector<WebFeaturePolicyFeature>, features, ()); |
return features; |
} |
+ const WebParsedFeaturePolicy& containerPolicy() const override { |
+ DEFINE_STATIC_LOCAL(WebParsedFeaturePolicy, containerPolicy, ()); |
+ return containerPolicy; |
+ } |
private: |
// Intentionally private to prevent redundant checks when the type is |