OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef PPAPI_C_PRIVATE_PPB_NACL_UTIL_PRIVATE_H_ | 5 #ifndef PPAPI_C_PRIVATE_PPB_NACL_UTIL_PRIVATE_H_ |
6 #define PPAPI_C_PRIVATE_PPB_NACL_UTIL_PRIVATE_H_ | 6 #define PPAPI_C_PRIVATE_PPB_NACL_UTIL_PRIVATE_H_ |
7 | 7 |
8 #include "ppapi/c/pp_resource.h" | 8 #include "ppapi/c/pp_resource.h" |
9 #include "ppapi/c/pp_stdint.h" | 9 #include "ppapi/c/pp_stdint.h" |
10 | 10 |
11 #define PPB_NACLUTIL_PRIVATE_INTERFACE "PPB_NaClUtil(Private);0.1" | 11 #define PPB_NACLUTIL_PRIVATE_INTERFACE "PPB_NaClUtil(Private);0.1" |
12 | 12 |
13 struct PPB_NaClUtil_Private { | 13 struct PPB_NaClUtil_Private { |
14 int32_t (*LaunchSelLdr)(PP_Resource file_io); | 14 bool (*LaunchSelLdr)(const char* alleged_url, int socket_count, |
brettw
2010/12/17 20:43:31
Can you document this? Maybe there's someplace you
abarth-chromium
2010/12/17 20:50:12
Will do.
| |
15 void* imc_handles, void* nacl_process_handle, | |
16 int* nacl_process_id); | |
17 | |
18 int (*UrandomFD)(void); | |
brettw
2010/12/17 20:43:31
This too, I don't have any idea what this even doe
abarth-chromium
2010/12/17 20:50:12
Yep. :)
| |
15 }; | 19 }; |
16 | 20 |
17 #endif // PPAPI_C_PRIVATE_PPB_NACL_UTIL_PRIVATE_H_ | 21 #endif // PPAPI_C_PRIVATE_PPB_NACL_UTIL_PRIVATE_H_ |
OLD | NEW |