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 Thu May 29 08:25:29 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Fri May 30 10:50:23 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 * use inside the Windows sandbox. Note that we provide this via dependency | 281 * use inside the Windows sandbox. Note that we provide this via dependency |
282 * injection only to avoid the linkage problems that occur because the NaCl | 282 * injection only to avoid the linkage problems that occur because the NaCl |
283 * plugin is built as a separate DLL/DSO | 283 * plugin is built as a separate DLL/DSO |
284 * (see http://code.google.com/p/chromium/issues/detail?id=114439#c8). | 284 * (see http://code.google.com/p/chromium/issues/detail?id=114439#c8). |
285 */ | 285 */ |
286 int32_t (*BrokerDuplicateHandle)(PP_FileHandle source_handle, | 286 int32_t (*BrokerDuplicateHandle)(PP_FileHandle source_handle, |
287 uint32_t process_id, | 287 uint32_t process_id, |
288 PP_FileHandle* target_handle, | 288 PP_FileHandle* target_handle, |
289 uint32_t desired_access, | 289 uint32_t desired_access, |
290 uint32_t options); | 290 uint32_t options); |
291 /* Returns a read-only file descriptor of a file rooted in the Pnacl | 291 /* Returns a read-only file descriptor for a url for pnacl translator tools, |
292 * component directory, or an invalid handle on failure. | 292 * or an invalid handle on failure. |
293 */ | 293 */ |
294 PP_FileHandle (*GetReadonlyPnaclFd)(const char* filename); | 294 PP_FileHandle (*GetReadonlyPnaclFd)(const char* url); |
295 /* This creates a temporary file that will be deleted by the time | 295 /* This creates a temporary file that will be deleted by the time |
296 * the last handle is closed (or earlier on POSIX systems), and | 296 * the last handle is closed (or earlier on POSIX systems), and |
297 * returns a posix handle to that temporary file. | 297 * returns a posix handle to that temporary file. |
298 */ | 298 */ |
299 PP_FileHandle (*CreateTemporaryFile)(PP_Instance instance); | 299 PP_FileHandle (*CreateTemporaryFile)(PP_Instance instance); |
300 /* Return the number of processors in the system as reported by the OS */ | 300 /* Return the number of processors in the system as reported by the OS */ |
301 int32_t (*GetNumberOfProcessors)(void); | 301 int32_t (*GetNumberOfProcessors)(void); |
302 /* Return whether the non-SFI mode is enabled. */ | 302 /* Return whether the non-SFI mode is enabled. */ |
303 PP_Bool (*IsNonSFIModeEnabled)(void); | 303 PP_Bool (*IsNonSFIModeEnabled)(void); |
304 /* Create a temporary file, which will be deleted by the time the | 304 /* Create a temporary file, which will be deleted by the time the |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 struct PP_CompletionCallback callback); | 441 struct PP_CompletionCallback callback); |
442 }; | 442 }; |
443 | 443 |
444 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 444 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
445 /** | 445 /** |
446 * @} | 446 * @} |
447 */ | 447 */ |
448 | 448 |
449 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 449 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
450 | 450 |
OLD | NEW |