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

Side by Side Diff: ppapi/native_client/src/trusted/plugin/nacl_entry_points.h

Issue 177113009: Support non-SFI mode in NaCl manifest file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NACL_ENTRY_POINTS_H_ 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NACL_ENTRY_POINTS_H_
8 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NACL_ENTRY_POINTS_H_ 8 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NACL_ENTRY_POINTS_H_
9 9
10 #include <stddef.h> 10 #include <stddef.h>
11 11
12 #include <map> 12 #include <map>
13 #include <string> 13 #include <string>
14 14
15 #include "native_client/src/shared/imc/nacl_imc_c.h" 15 #include "native_client/src/shared/imc/nacl_imc_c.h"
16 #include "ppapi/c/pp_completion_callback.h" 16 #include "ppapi/c/pp_completion_callback.h"
17 #include "ppapi/c/pp_instance.h" 17 #include "ppapi/c/pp_instance.h"
18 #include "ppapi/c/private/ppb_instance_private.h" 18 #include "ppapi/c/private/ppb_instance_private.h"
19 19
20 typedef PP_ExternalPluginResult (*LaunchNaClProcessFunc)( 20 typedef PP_ExternalPluginResult (*LaunchNaClProcessFunc)(
21 PP_Instance instance, 21 PP_Instance instance,
22 const char* alleged_url, 22 const char* alleged_url,
23 PP_Bool uses_irt, 23 PP_Bool uses_irt,
24 PP_Bool uses_ppapi, 24 PP_Bool uses_ppapi,
25 PP_Bool uses_nonsfi_mode,
25 PP_Bool enable_ppapi_dev, 26 PP_Bool enable_ppapi_dev,
26 PP_Bool enable_dyncode_syscalls, 27 PP_Bool enable_dyncode_syscalls,
27 PP_Bool enable_exception_handling, 28 PP_Bool enable_exception_handling,
28 PP_Bool enable_crash_throttling, 29 PP_Bool enable_crash_throttling,
29 NaClHandle* result_socket, 30 NaClHandle* result_socket,
30 struct PP_Var* error_message, 31 struct PP_Var* error_message,
31 PP_CompletionCallback callback); 32 PP_CompletionCallback callback);
32 33
33 34
34 extern LaunchNaClProcessFunc launch_nacl_process; 35 extern LaunchNaClProcessFunc launch_nacl_process;
35 36
36 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NACL_ENTRY_POINTS_H_ 37 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NACL_ENTRY_POINTS_H_
OLDNEW
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/manifest.h ('k') | ppapi/native_client/src/trusted/plugin/plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698