Index: content/public/browser/render_frame_host.h |
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h |
index 5b33b551add3ebcd8d4971f046b663fa3eaf3eaf..a3d5490fd1009ce3139b47a3248c2aa4eb40e5dc 100644 |
--- a/content/public/browser/render_frame_host.h |
+++ b/content/public/browser/render_frame_host.h |
@@ -261,6 +261,9 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, |
virtual void DisableBeforeUnloadHangMonitorForTesting() = 0; |
virtual bool IsBeforeUnloadHangMonitorDisabledForTesting() = 0; |
+ // Returns true if the given Feature Policy |feature| is enabled for this |
+ // RenderFrameHost and is allowed to be used by it. Use this in the browser |
+ // process to determine whether access to a feature is allowed. |
virtual bool IsFeatureEnabled(blink::WebFeaturePolicyFeature feature) = 0; |
private: |