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

Side by Side Diff: ppapi/c/private/ppb_nacl_private.h

Issue 149403005: Pepper: Make StartSelLdr asynchronous. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CompletionCallback cleanup in service_runtime 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 unified diff | Download patch
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* From private/ppb_nacl_private.idl modified Fri Feb 7 16:10:35 2014. */ 6 /* From private/ppb_nacl_private.idl modified Mon Feb 10 11:05:29 2014. */
7 7
8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ 8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ 9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_completion_callback.h" 12 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h" 14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_stdint.h" 15 #include "ppapi/c/pp_stdint.h"
16 #include "ppapi/c/pp_var.h" 16 #include "ppapi/c/pp_var.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 * The |uses_irt| flag indicates whether the IRT should be loaded in this 71 * The |uses_irt| flag indicates whether the IRT should be loaded in this
72 * NaCl process. This is true for ABI stable nexes. 72 * NaCl process. This is true for ABI stable nexes.
73 * The |enable_dyncode_syscalls| flag indicates whether or not the nexe 73 * The |enable_dyncode_syscalls| flag indicates whether or not the nexe
74 * will be able to use dynamic code system calls (e.g., mmap with PROT_EXEC). 74 * will be able to use dynamic code system calls (e.g., mmap with PROT_EXEC).
75 * The |enable_exception_handling| flag indicates whether or not the nexe 75 * The |enable_exception_handling| flag indicates whether or not the nexe
76 * will be able to use hardware exception handling. 76 * will be able to use hardware exception handling.
77 * The |enable_crash_throttling| flag indicates whether or not crashes of 77 * The |enable_crash_throttling| flag indicates whether or not crashes of
78 * the nexe contribute to crash throttling statisics and whether nexe starts 78 * the nexe contribute to crash throttling statisics and whether nexe starts
79 * are throttled by crash throttling. 79 * are throttled by crash throttling.
80 */ 80 */
81 PP_ExternalPluginResult (*LaunchSelLdr)(PP_Instance instance, 81 void (*LaunchSelLdr)(PP_Instance instance,
82 const char* alleged_url, 82 const char* alleged_url,
83 PP_Bool uses_irt, 83 PP_Bool uses_irt,
84 PP_Bool uses_ppapi, 84 PP_Bool uses_ppapi,
85 PP_Bool enable_ppapi_dev, 85 PP_Bool enable_ppapi_dev,
86 PP_Bool enable_dyncode_syscalls, 86 PP_Bool enable_dyncode_syscalls,
87 PP_Bool enable_exception_handling, 87 PP_Bool enable_exception_handling,
88 PP_Bool enable_crash_throttling, 88 PP_Bool enable_crash_throttling,
89 void* imc_handle, 89 void* imc_handle,
90 struct PP_Var* error_message); 90 struct PP_Var* error_message,
91 struct PP_CompletionCallback callback);
91 /* This function starts the IPC proxy so the nexe can communicate with the 92 /* This function starts the IPC proxy so the nexe can communicate with the
92 * browser. Returns PP_EXTERNAL_PLUGIN_OK on success, otherwise a result code 93 * browser. Returns PP_EXTERNAL_PLUGIN_OK on success, otherwise a result code
93 * indicating the failure. PP_EXTERNAL_PLUGIN_FAILED is returned if 94 * indicating the failure. PP_EXTERNAL_PLUGIN_FAILED is returned if
94 * LaunchSelLdr wasn't called with the instance. 95 * LaunchSelLdr wasn't called with the instance.
95 * PP_EXTERNAL_PLUGIN_ERROR_MODULE is returned if the module can't be 96 * PP_EXTERNAL_PLUGIN_ERROR_MODULE is returned if the module can't be
96 * initialized. PP_EXTERNAL_PLUGIN_ERROR_INSTANCE is returned if the instance 97 * initialized. PP_EXTERNAL_PLUGIN_ERROR_INSTANCE is returned if the instance
97 * can't be initialized. 98 * can't be initialized.
98 */ 99 */
99 PP_ExternalPluginResult (*StartPpapiProxy)(PP_Instance instance); 100 PP_ExternalPluginResult (*StartPpapiProxy)(PP_Instance instance);
100 /* On POSIX systems, this function returns the file descriptor of 101 /* On POSIX systems, this function returns the file descriptor of
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 struct PP_Var value); 189 struct PP_Var value);
189 }; 190 };
190 191
191 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; 192 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;
192 /** 193 /**
193 * @} 194 * @}
194 */ 195 */
195 196
196 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ 197 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */
197 198
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_nacl_private.idl ('k') | ppapi/native_client/src/trusted/plugin/nacl_entry_points.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698