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

Unified Diff: ppapi/native_client/src/trusted/plugin/nacl_entry_points.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/native_client/src/trusted/plugin/nacl_entry_points.h
===================================================================
--- ppapi/native_client/src/trusted/plugin/nacl_entry_points.h (revision 136022)
+++ 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)(PP_Instance instance,
+ const char* url,
int socket_count,
nacl::Handle* result_sockets);
+typedef bool (*StartPpapiProxyFunc)(PP_Instance instance);
+
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_

Powered by Google App Engine
This is Rietveld 408576698