Index: content/renderer/pepper/pepper_plugin_delegate_impl.h |
=================================================================== |
--- content/renderer/pepper/pepper_plugin_delegate_impl.h (revision 161836) |
+++ content/renderer/pepper/pepper_plugin_delegate_impl.h (working copy) |
@@ -45,6 +45,7 @@ |
namespace ppapi { |
class PepperFilePath; |
class PPB_X509Certificate_Fields; |
+class PpapiPermissions; |
} |
namespace ui { |
@@ -98,6 +99,16 @@ |
const webkit::WebPluginInfo& webplugin_info, |
bool* pepper_plugin_was_registered); |
+ // Creates a plugin module for the untrusted NaCl plugin and resets the |
+ // instance to use the out-of-process proxy. |
+ // If the plugin fails to initialize then return NULL. |
+ CONTENT_EXPORT scoped_refptr<webkit::ppapi::PluginModule> |
+ CreateNaClPluginModule( |
+ webkit::ppapi::PluginInstance* plugin_instance, |
+ ppapi::PpapiPermissions permissions, |
+ const IPC::ChannelHandle& channel_handle, |
+ int nacl_process_id); |
+ |
// Creates a browser plugin instance given the process handle, and channel |
// handle to access the guest renderer. |
// If the plugin fails to initialize then return NULL. |