Chromium Code Reviews| Index: ppapi/native_client/src/trusted/plugin/nacl_entry_points.h |
| =================================================================== |
| --- ppapi/native_client/src/trusted/plugin/nacl_entry_points.h (revision 134969) |
| +++ ppapi/native_client/src/trusted/plugin/nacl_entry_points.h (working copy) |
| @@ -13,16 +13,21 @@ |
| #include <string> |
| #include "native_client/src/shared/imc/nacl_imc.h" |
| +#include "ppapi/c/pp_instance.h" |
| -typedef bool (*LaunchNaClProcessFunc)(const char* url, |
| +typedef bool (*LaunchNaClProcessFunc)(int instance_id, |
|
dmichael (off chromium)
2012/05/04 22:51:42
I'm still not clear on why you can't just use PP_I
bbudge
2012/05/07 18:08:53
This is a vestige of back when this was in the NaC
|
| + const char* url, |
| int socket_count, |
| nacl::Handle* result_sockets); |
| +typedef bool (*StartPpapiProxyFunc)(int instance_id); |
| + |
| typedef int (*GetURandomFDFunc)(void); |
| extern LaunchNaClProcessFunc launch_nacl_process; |
| +extern StartPpapiProxyFunc start_ppapi_proxy; |
| extern GetURandomFDFunc get_urandom_fd; |
| #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NACL_ENTRY_POINTS_H_ |