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

Unified Diff: ppapi/c/private/ppb_nacl_private.h

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/c/private/ppb_nacl_private.h
===================================================================
--- ppapi/c/private/ppb_nacl_private.h (revision 136022)
+++ ppapi/c/private/ppb_nacl_private.h (working copy)
@@ -5,10 +5,11 @@
#ifndef PPAPI_C_PRIVATE_PPB_NACL_UTIL_PRIVATE_H_
#define PPAPI_C_PRIVATE_PPB_NACL_UTIL_PRIVATE_H_
+#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_stdint.h"
-#define PPB_NACL_PRIVATE_INTERFACE "PPB_NaCl(Private);0.4"
+#define PPB_NACL_PRIVATE_INTERFACE "PPB_NaCl(Private);0.5"
struct PPB_NaCl_Private {
// This function launches NaCl's sel_ldr process. On success, the function
@@ -16,9 +17,15 @@
// write |socket_count| nacl::Handles to imc_handles. Unless
// EnableBackgroundSelLdrLaunch is called, this method must be invoked from
// the main thread.
- bool (*LaunchSelLdr)(const char* alleged_url, int socket_count,
+ bool (*LaunchSelLdr)(PP_Instance instance,
+ const char* alleged_url,
+ int socket_count,
void* imc_handles);
+ // This function starts the PPAPI proxy so the nexe can communicate with the
+ // browser's renderer process.
+ bool (*StartPpapiProxy)(PP_Instance instance);
dmichael (off chromium) 2012/05/10 19:38:58 Can you use PP_Bool? I know this file is already n
+
// On POSIX systems, this function returns the file descriptor of
// /dev/urandom. On non-POSIX systems, this function returns 0.
int (*UrandomFD)(void);

Powered by Google App Engine
This is Rietveld 408576698