OLD | NEW |
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 Mar 7 13:41:05 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Wed Mar 12 14:00:41 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 /* Report an error that occured while attempting to load a nexe. */ | 275 /* Report an error that occured while attempting to load a nexe. */ |
276 void (*ReportLoadError)(PP_Instance instance, | 276 void (*ReportLoadError)(PP_Instance instance, |
277 PP_NaClError error, | 277 PP_NaClError error, |
278 PP_Bool is_installed); | 278 PP_Bool is_installed); |
279 /* Performs internal cleanup when an instance is destroyed. */ | 279 /* Performs internal cleanup when an instance is destroyed. */ |
280 void (*InstanceDestroyed)(PP_Instance instance); | 280 void (*InstanceDestroyed)(PP_Instance instance); |
281 /* Return true if the NaCl debug stub is enabled and the loaded app | 281 /* Return true if the NaCl debug stub is enabled and the loaded app |
282 * will be attached to a debugger. | 282 * will be attached to a debugger. |
283 */ | 283 */ |
284 PP_Bool (*NaClDebugStubEnabled)(void); | 284 PP_Bool (*NaClDebugStubEnabled)(void); |
| 285 /* Returns the kind of SFI sandbox implemented by NaCl on this |
| 286 * platform. |
| 287 */ |
| 288 const char* (*GetSandboxArch)(void); |
285 }; | 289 }; |
286 | 290 |
287 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 291 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
288 /** | 292 /** |
289 * @} | 293 * @} |
290 */ | 294 */ |
291 | 295 |
292 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 296 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
293 | 297 |
OLD | NEW |