| 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 Jan 10 16:07:40 2013. */ | 6 /* From private/ppb_nacl_private.idl modified Thu Jan 10 15:59:03 2013. */ |
| 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_instance.h" | 12 #include "ppapi/c/pp_instance.h" |
| 13 #include "ppapi/c/pp_macros.h" | 13 #include "ppapi/c/pp_macros.h" |
| 14 #include "ppapi/c/pp_stdint.h" | 14 #include "ppapi/c/pp_stdint.h" |
| 15 | 15 |
| 16 #define PPB_NACL_PRIVATE_INTERFACE_1_0 "PPB_NaCl_Private;1.0" | 16 #define PPB_NACL_PRIVATE_INTERFACE_1_0 "PPB_NaCl_Private;1.0" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 31 * The <code>PP_NaClResult</code> enum contains NaCl result codes. | 31 * The <code>PP_NaClResult</code> enum contains NaCl result codes. |
| 32 */ | 32 */ |
| 33 typedef enum { | 33 typedef enum { |
| 34 /** Successful NaCl call */ | 34 /** Successful NaCl call */ |
| 35 PP_NACL_OK = 0, | 35 PP_NACL_OK = 0, |
| 36 /** Unspecified NaCl error */ | 36 /** Unspecified NaCl error */ |
| 37 PP_NACL_FAILED = 1, | 37 PP_NACL_FAILED = 1, |
| 38 /** Error creating the module */ | 38 /** Error creating the module */ |
| 39 PP_NACL_ERROR_MODULE = 2, | 39 PP_NACL_ERROR_MODULE = 2, |
| 40 /** Error creating and initializing the instance */ | 40 /** Error creating and initializing the instance */ |
| 41 PP_NACL_ERROR_INSTANCE = 3, | 41 PP_NACL_ERROR_INSTANCE = 3 |
| 42 /** SRPC proxy should be used instead */ | |
| 43 PP_NACL_USE_SRPC = 128 | |
| 44 } PP_NaClResult; | 42 } PP_NaClResult; |
| 45 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_NaClResult, 4); | 43 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_NaClResult, 4); |
| 46 | 44 |
| 47 /** NaCl-specific errors that should be reported to the user */ | 45 /** NaCl-specific errors that should be reported to the user */ |
| 48 typedef enum { | 46 typedef enum { |
| 49 /** | 47 /** |
| 50 * The manifest program element does not contain a program usable on the | 48 * The manifest program element does not contain a program usable on the |
| 51 * user's architecture | 49 * user's architecture |
| 52 */ | 50 */ |
| 53 PP_NACL_MANIFEST_MISSING_ARCH = 0 | 51 PP_NACL_MANIFEST_MISSING_ARCH = 0 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 PP_NaClError message_id); | 129 PP_NaClError message_id); |
| 132 }; | 130 }; |
| 133 | 131 |
| 134 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 132 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
| 135 /** | 133 /** |
| 136 * @} | 134 * @} |
| 137 */ | 135 */ |
| 138 | 136 |
| 139 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 137 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
| 140 | 138 |
| OLD | NEW |