Index: ppapi/api/private/ppb_nacl_private.idl |
diff --git a/ppapi/api/private/ppb_nacl_private.idl b/ppapi/api/private/ppb_nacl_private.idl |
index 4e215d7fa89caa934c09c74b214a897fdfc197df..e12ca738f0eb8e325772012bd2aabff983780e85 100644 |
--- a/ppapi/api/private/ppb_nacl_private.idl |
+++ b/ppapi/api/private/ppb_nacl_private.idl |
@@ -54,16 +54,18 @@ interface PPB_NaCl_Private { |
* the nexe contribute to crash throttling statisics and whether nexe starts |
* are throttled by crash throttling. |
*/ |
- PP_ExternalPluginResult LaunchSelLdr([in] PP_Instance instance, |
- [in] str_t alleged_url, |
- [in] PP_Bool uses_irt, |
- [in] PP_Bool uses_ppapi, |
- [in] PP_Bool enable_ppapi_dev, |
- [in] PP_Bool enable_dyncode_syscalls, |
- [in] PP_Bool enable_exception_handling, |
- [in] PP_Bool enable_crash_throttling, |
- [out] mem_t imc_handle, |
- [out] PP_Var error_message); |
+ void LaunchSelLdr( |
+ [in] PP_Instance instance, |
+ [in] str_t alleged_url, |
+ [in] PP_Bool uses_irt, |
+ [in] PP_Bool uses_ppapi, |
+ [in] PP_Bool enable_ppapi_dev, |
+ [in] PP_Bool enable_dyncode_syscalls, |
+ [in] PP_Bool enable_exception_handling, |
+ [in] PP_Bool enable_crash_throttling, |
+ [out] mem_t imc_handle, |
+ [out] PP_Var error_message, |
+ [in] PP_CompletionCallback connected_callback); |
/* This function starts the IPC proxy so the nexe can communicate with the |
* browser. Returns PP_EXTERNAL_PLUGIN_OK on success, otherwise a result code |
@@ -176,4 +178,11 @@ interface PPB_NaCl_Private { |
void SetReadOnlyProperty([in] PP_Instance instance, |
[in] PP_Var key, |
[in] PP_Var value); |
+ |
+ /* Loads the module specified by |nexe_handle|. */ |
+ PP_Bool LoadModule([in] PP_Instance instance, |
+ [in] PP_FileHandle nexe_handle, |
+ [out] uint32_t nacl_error_code); |
+ |
+ PP_Bool StartModule([in] PP_Instance instance); |
}; |