Index: content/browser/renderer_host/pepper/browser_ppapi_host_impl.h |
diff --git a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h |
index 6071555c1aa90c0fb917c3300beac04e4f729f81..a29eb7ed55ddfb3c0575cff28dfbd047a72372ee 100644 |
--- a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h |
+++ b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h |
@@ -72,6 +72,11 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost { |
void SetOnKeepaliveCallback( |
const BrowserPpapiHost::OnKeepaliveCallback& callback) override; |
+ // Whether the plugin context is secure. That is, it is served from a secure |
+ // origin and it is embedded within a hierarchy of secure frames. This value |
+ // comes from the renderer so should not be trusted. It is used for metrics. |
+ bool IsPotentiallySecurePluginContext(PP_Instance instance); |
+ |
void set_plugin_process(base::Process process) { |
plugin_process_ = process.Pass(); |
} |