Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: ppapi/api/private/finish_writing_these/ppb_nacl_private.idl

Issue 10214007: Add an IPC channel between the NaCl loader process and the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/api/private/finish_writing_these/ppb_nacl_private.idl
===================================================================
--- ppapi/api/private/finish_writing_these/ppb_nacl_private.idl (revision 136022)
+++ ppapi/api/private/finish_writing_these/ppb_nacl_private.idl (working copy)
@@ -6,21 +6,21 @@
/* This file contains NaCl private interfaces. */
/* PPB_NaCl_Private */
-interface PPB_NaCl_Private_0_2 {
+interface PPB_NaCl_Private_0_5 {
/* This function launches NaCl's sel_ldr process. On success, the function
* returns true, otherwise it returns false. When it returns true, it will
- * write |socket_count| nacl::Handles to imc_handles and will write the
- * nacl::Handle of the created process to |nacl_process_handle|. Finally,
- * the function will write the process ID of the created process to
- * |nacl_process_id|.
+ * write |socket_count| nacl::Handles to imc_handles.
*/
- bool LaunchSelLdr(
- [in] str_t alleged_url,
- [in] int32_t socket_count,
- [out] mem_t imc_handles,
- [out] mem_t nacl_process_handle,
- [out] int32_t nacl_process_id);
+ bool LaunchSelLdr([in] PP_Instance instance,
+ [in] str_t alleged_url,
+ [in] int32_t socket_count,
+ [out] mem_t imc_handles);
+ /* This function starts the PPAPI proxy so the nexe can communicate with the
+ * browser's renderer process.
+ */
+ bool StartPpapiProxy([in] PP_Instance instance);
+
/* On POSIX systems, this function returns the file descriptor of
* /dev/urandom. On non-POSIX systems, this function returns 0.
*/

Powered by Google App Engine
This is Rietveld 408576698