Index: third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h |
index c5fb0dda47b94ba9668f714938041285eea1fe2f..06c1ce98871fe3d743e369148e2f443818c97b91 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h |
@@ -12,6 +12,8 @@ |
namespace blink { |
class ScriptState; |
+struct FeaturePolicyFeature; |
+class LocalFrame; |
using InstallConditionalFeaturesFunction = void (*)(const WrapperTypeInfo*, |
const ScriptState*, |
@@ -34,6 +36,8 @@ CORE_EXPORT void installConditionalFeatures(const WrapperTypeInfo*, |
CORE_EXPORT InstallConditionalFeaturesFunction |
setInstallConditionalFeaturesFunction(InstallConditionalFeaturesFunction); |
+bool isFeatureEnabledInFrame(const FeaturePolicyFeature*, const LocalFrame*); |
+ |
} // namespace blink |
#endif // ConditionalFeatures_h |