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..445d72ff1e38584f8c9ffa1a9b4fbb4dfe404175 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 is running in a privileged context. That is, it is |
+ // served from a secure origin and it is embedded within a heirachy of secure |
+ // frames. |
+ bool IsPrivilegedContext(PP_Instance instance); |
+ |
void set_plugin_process(base::Process process) { |
plugin_process_ = process.Pass(); |
} |