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

Unified Diff: ppapi/native_client/src/trusted/plugin/nacl_entry_points.h

Issue 131413009: Prototype: Use Chromium IPC for plugin LOAD_MODULE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, some FIXMEs cleaned up Created 6 years, 10 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
diff --git a/ppapi/native_client/src/trusted/plugin/nacl_entry_points.h b/ppapi/native_client/src/trusted/plugin/nacl_entry_points.h
index 0d182087d66c35f4c5ce2a7390425dbfb181c839..53b4bf586257d543e03d2637719bfa6814e48061 100644
--- a/ppapi/native_client/src/trusted/plugin/nacl_entry_points.h
+++ b/ppapi/native_client/src/trusted/plugin/nacl_entry_points.h
@@ -13,10 +13,11 @@
#include <string>
#include "native_client/src/shared/imc/nacl_imc_c.h"
+#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/private/ppb_instance_private.h"
-typedef PP_ExternalPluginResult (*LaunchNaClProcessFunc)(
+typedef void (*LaunchNaClProcessFunc)(
PP_Instance instance,
const char* alleged_url,
PP_Bool uses_irt,
@@ -26,7 +27,8 @@ typedef PP_ExternalPluginResult (*LaunchNaClProcessFunc)(
PP_Bool enable_exception_handling,
PP_Bool enable_crash_throttling,
NaClHandle* result_socket,
- struct PP_Var* error_message);
+ struct PP_Var* error_message,
+ PP_CompletionCallback callback);
extern LaunchNaClProcessFunc launch_nacl_process;

Powered by Google App Engine
This is Rietveld 408576698