| 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 pp_errors.idl modified Thu Jun 13 13:02:05 2013. */ | 6 /* From pp_errors.idl modified Thu May 15 16:12:26 2014. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_PP_ERRORS_H_ | 8 #ifndef PPAPI_C_PP_ERRORS_H_ |
| 9 #define PPAPI_C_PP_ERRORS_H_ | 9 #define PPAPI_C_PP_ERRORS_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/pp_macros.h" | 11 #include "ppapi/c/pp_macros.h" |
| 12 | 12 |
| 13 /** | 13 /** |
| 14 * @file | 14 * @file |
| 15 * This file defines an enumeration of all PPAPI error codes. | 15 * This file defines an enumeration of all PPAPI error codes. |
| 16 */ | 16 */ |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 * The requested command is not supported by the browser. | 79 * The requested command is not supported by the browser. |
| 80 */ | 80 */ |
| 81 PP_ERROR_NOTSUPPORTED = -12, | 81 PP_ERROR_NOTSUPPORTED = -12, |
| 82 /** | 82 /** |
| 83 * Returned if you try to use a null completion callback to "block until | 83 * Returned if you try to use a null completion callback to "block until |
| 84 * complete" on the main thread. Blocking the main thread is not permitted | 84 * complete" on the main thread. Blocking the main thread is not permitted |
| 85 * to keep the browser responsive (otherwise, you may not be able to handle | 85 * to keep the browser responsive (otherwise, you may not be able to handle |
| 86 * input events, and there are reentrancy and deadlock issues). | 86 * input events, and there are reentrancy and deadlock issues). |
| 87 */ | 87 */ |
| 88 PP_ERROR_BLOCKS_MAIN_THREAD = -13, | 88 PP_ERROR_BLOCKS_MAIN_THREAD = -13, |
| 89 /** |
| 90 * This value indicates that the plugin sent bad input data to a resource, |
| 91 * leaving it in an invalid state. The resource can't be used after returning |
| 92 * this error and should be released. |
| 93 */ |
| 94 PP_ERROR_MALFORMED_INPUT = -14, |
| 95 /** |
| 96 * This value indicates that a resource has failed. The resource can't be |
| 97 * used after returning this error and should be released. |
| 98 */ |
| 99 PP_ERROR_RESOURCE_FAILED = -15, |
| 89 /** This value indicates failure due to a file that does not exist. */ | 100 /** This value indicates failure due to a file that does not exist. */ |
| 90 PP_ERROR_FILENOTFOUND = -20, | 101 PP_ERROR_FILENOTFOUND = -20, |
| 91 /** This value indicates failure due to a file that already exists. */ | 102 /** This value indicates failure due to a file that already exists. */ |
| 92 PP_ERROR_FILEEXISTS = -21, | 103 PP_ERROR_FILEEXISTS = -21, |
| 93 /** This value indicates failure due to a file that is too big. */ | 104 /** This value indicates failure due to a file that is too big. */ |
| 94 PP_ERROR_FILETOOBIG = -22, | 105 PP_ERROR_FILETOOBIG = -22, |
| 95 /** | 106 /** |
| 96 * This value indicates failure due to a file having been modified | 107 * This value indicates failure due to a file having been modified |
| 97 * unexpectedly. | 108 * unexpectedly. |
| 98 */ | 109 */ |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 * This value indicates that the host name could not be resolved. | 190 * This value indicates that the host name could not be resolved. |
| 180 */ | 191 */ |
| 181 PP_ERROR_NAME_NOT_RESOLVED = -110 | 192 PP_ERROR_NAME_NOT_RESOLVED = -110 |
| 182 }; | 193 }; |
| 183 /** | 194 /** |
| 184 * @} | 195 * @} |
| 185 */ | 196 */ |
| 186 | 197 |
| 187 #endif /* PPAPI_C_PP_ERRORS_H_ */ | 198 #endif /* PPAPI_C_PP_ERRORS_H_ */ |
| 188 | 199 |
| OLD | NEW |