Index: third_party/WebKit/Source/web/RemoteFrameOwner.h |
diff --git a/third_party/WebKit/Source/web/RemoteFrameOwner.h b/third_party/WebKit/Source/web/RemoteFrameOwner.h |
index 4b553fd8e0a7bf78bec9c9691f8a2b3e8479a12c..1436e3ae2cc94aa9742d02cd0612cec27a7d00cb 100644 |
--- a/third_party/WebKit/Source/web/RemoteFrameOwner.h |
+++ b/third_party/WebKit/Source/web/RemoteFrameOwner.h |
@@ -52,6 +52,10 @@ class RemoteFrameOwner final |
const override { |
return m_delegatedPermissions; |
} |
+ const WebVector<WebFeaturePolicyFeature>& allowedFeatureNames() |
+ const override { |
+ return m_allowedFeatureNames; |
+ } |
void setBrowsingContextContainerName(const WebString& name) { |
m_browsingContextContainerName = name; |
@@ -70,6 +74,10 @@ class RemoteFrameOwner final |
const WebVector<mojom::blink::PermissionName>& delegatedPermissions) { |
m_delegatedPermissions = delegatedPermissions; |
} |
+ void setAllowedFeatureNames( |
+ const WebVector<WebFeaturePolicyFeature>& allowedFeatureNames) { |
+ m_allowedFeatureNames = allowedFeatureNames; |
+ } |
DECLARE_VIRTUAL_TRACE(); |
@@ -91,6 +99,7 @@ class RemoteFrameOwner final |
bool m_allowPaymentRequest; |
WebString m_csp; |
WebVector<mojom::blink::PermissionName> m_delegatedPermissions; |
+ WebVector<WebFeaturePolicyFeature> m_allowedFeatureNames; |
}; |
DEFINE_TYPE_CASTS(RemoteFrameOwner, |