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 Feb 13 15:50:26 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 * the association between the cache key and the fd, and copy the | 143 * the association between the cache key and the fd, and copy the |
144 * nexe into the cache after the translation finishes. | 144 * nexe into the cache after the translation finishes. |
145 */ | 145 */ |
146 int32_t (*GetNexeFd)(PP_Instance instance, | 146 int32_t (*GetNexeFd)(PP_Instance instance, |
147 const char* pexe_url, | 147 const char* pexe_url, |
148 uint32_t abi_version, | 148 uint32_t abi_version, |
149 uint32_t opt_level, | 149 uint32_t opt_level, |
150 const char* last_modified, | 150 const char* last_modified, |
151 const char* etag, | 151 const char* etag, |
152 PP_Bool has_no_store_header, | 152 PP_Bool has_no_store_header, |
| 153 const char* sandbox_isa, |
| 154 const char* extra_flags, |
153 PP_Bool* is_hit, | 155 PP_Bool* is_hit, |
154 PP_FileHandle* nexe_handle, | 156 PP_FileHandle* nexe_handle, |
155 struct PP_CompletionCallback callback); | 157 struct PP_CompletionCallback callback); |
156 /* Report to the browser that translation of the pexe for |instance| | 158 /* Report to the browser that translation of the pexe for |instance| |
157 * has finished, or aborted with an error. If |success| is true, the | 159 * has finished, or aborted with an error. If |success| is true, the |
158 * browser may then store the translation in the cache. The renderer | 160 * browser may then store the translation in the cache. The renderer |
159 * must first have called GetNexeFd for the same instance. (The browser is | 161 * must first have called GetNexeFd for the same instance. (The browser is |
160 * not guaranteed to store the nexe even if |success| is true; if there is | 162 * not guaranteed to store the nexe even if |success| is true; if there is |
161 * an error on the browser side, or the file is too big for the cache, or | 163 * an error on the browser side, or the file is too big for the cache, or |
162 * the browser is in incognito mode, no notification will be delivered to | 164 * the browser is in incognito mode, no notification will be delivered to |
(...skipping 28 matching lines...) Expand all Loading... |
191 struct PP_Var value); | 193 struct PP_Var value); |
192 }; | 194 }; |
193 | 195 |
194 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 196 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
195 /** | 197 /** |
196 * @} | 198 * @} |
197 */ | 199 */ |
198 | 200 |
199 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 201 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
200 | 202 |
OLD | NEW |