Chromium Code Reviews| 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..755963032e001545b014c62720034bd81690242a 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 to determine |
| + // in the browser process to determine whether access to a feature is allowed. |
|
alexmos
2017/05/22 23:05:47
nit: duplicate "to determine", remove one of them.
|
| virtual bool IsFeatureEnabled(blink::WebFeaturePolicyFeature feature) = 0; |
| private: |