| 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 Jun 13 15:14:51 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Wed Jun 18 19:15:01 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 * whether the service is still alive or not. Trivially Quit() should always | 187 * whether the service is still alive or not. Trivially Quit() should always |
| 188 * return false. However, other functions also can return false. | 188 * return false. However, other functions also can return false. |
| 189 * Once false is called, as the service has been destructed, all functions | 189 * Once false is called, as the service has been destructed, all functions |
| 190 * should never be called afterwords. | 190 * should never be called afterwords. |
| 191 */ | 191 */ |
| 192 struct PPP_ManifestService_1_0 { | 192 struct PPP_ManifestService_1_0 { |
| 193 /* Called when ManifestService should be destructed. */ | 193 /* Called when ManifestService should be destructed. */ |
| 194 PP_Bool (*Quit)(void* user_data); | 194 PP_Bool (*Quit)(void* user_data); |
| 195 /* Called when PPAPI initialization in the NaCl plugin is finished. */ | 195 /* Called when PPAPI initialization in the NaCl plugin is finished. */ |
| 196 PP_Bool (*StartupInitializationComplete)(void* user_data); | 196 PP_Bool (*StartupInitializationComplete)(void* user_data); |
| 197 /* Called when irt_open_resource() is invoked in the NaCl plugin. | |
| 198 * Upon completion, callback will be invoked with given callback_user_data | |
| 199 * and the result file handle (or PP_kInvalidFileHandle on error). */ | |
| 200 PP_Bool (*OpenResource)(void* user_data, | |
| 201 const char* entry_key, | |
| 202 PP_OpenResourceCompletionCallback callback, | |
| 203 void* callback_user_data); | |
| 204 }; | 197 }; |
| 205 | 198 |
| 206 typedef struct PPP_ManifestService_1_0 PPP_ManifestService; | 199 typedef struct PPP_ManifestService_1_0 PPP_ManifestService; |
| 207 /** | 200 /** |
| 208 * @} | 201 * @} |
| 209 */ | 202 */ |
| 210 | 203 |
| 211 /** | 204 /** |
| 212 * @addtogroup Structs | 205 * @addtogroup Structs |
| 213 * @{ | 206 * @{ |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 void (*LogTranslateTime)(const char* histogram_name, int64_t time_us); | 444 void (*LogTranslateTime)(const char* histogram_name, int64_t time_us); |
| 452 }; | 445 }; |
| 453 | 446 |
| 454 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 447 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
| 455 /** | 448 /** |
| 456 * @} | 449 * @} |
| 457 */ | 450 */ |
| 458 | 451 |
| 459 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 452 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
| 460 | 453 |
| OLD | NEW |