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 /** | 6 /** |
7 * This file defines an enumeration of all PPAPI error codes. | 7 * This file defines an enumeration of all PPAPI error codes. |
8 */ | 8 */ |
9 | 9 |
10 /** | 10 /** |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 */ | 78 */ |
79 PP_ERROR_NOTSUPPORTED = -12, | 79 PP_ERROR_NOTSUPPORTED = -12, |
80 | 80 |
81 /** | 81 /** |
82 * Returned if you try to use a null completion callback to "block until | 82 * Returned if you try to use a null completion callback to "block until |
83 * complete" on the main thread. Blocking the main thread is not permitted | 83 * complete" on the main thread. Blocking the main thread is not permitted |
84 * to keep the browser responsive (otherwise, you may not be able to handle | 84 * to keep the browser responsive (otherwise, you may not be able to handle |
85 * input events, and there are reentrancy and deadlock issues). | 85 * input events, and there are reentrancy and deadlock issues). |
86 */ | 86 */ |
87 PP_ERROR_BLOCKS_MAIN_THREAD = -13, | 87 PP_ERROR_BLOCKS_MAIN_THREAD = -13, |
| 88 /** |
| 89 * This value indicates that plugin sent malformed input data to the browser. |
| 90 */ |
| 91 PP_ERROR_MALFORMED_INPUT = -14, |
| 92 /** |
| 93 * This value indicates that a platform failure occurred. This indicates that |
| 94 * the browser could not complete a valid request from the plugin. |
| 95 */ |
| 96 PP_ERROR_PLATFORM_FAILED = -15, |
88 | 97 |
89 /** This value indicates failure due to a file that does not exist. */ | 98 /** This value indicates failure due to a file that does not exist. */ |
90 PP_ERROR_FILENOTFOUND = -20, | 99 PP_ERROR_FILENOTFOUND = -20, |
91 /** This value indicates failure due to a file that already exists. */ | 100 /** This value indicates failure due to a file that already exists. */ |
92 PP_ERROR_FILEEXISTS = -21, | 101 PP_ERROR_FILEEXISTS = -21, |
93 /** This value indicates failure due to a file that is too big. */ | 102 /** This value indicates failure due to a file that is too big. */ |
94 PP_ERROR_FILETOOBIG = -22, | 103 PP_ERROR_FILETOOBIG = -22, |
95 /** | 104 /** |
96 * This value indicates failure due to a file having been modified | 105 * This value indicates failure due to a file having been modified |
97 * unexpectedly. | 106 * unexpectedly. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 /** | 183 /** |
175 * This value indicates that the message was too large for the transport. | 184 * This value indicates that the message was too large for the transport. |
176 */ | 185 */ |
177 PP_ERROR_MESSAGE_TOO_BIG = -109, | 186 PP_ERROR_MESSAGE_TOO_BIG = -109, |
178 /** | 187 /** |
179 * This value indicates that the host name could not be resolved. | 188 * This value indicates that the host name could not be resolved. |
180 */ | 189 */ |
181 PP_ERROR_NAME_NOT_RESOLVED = -110 | 190 PP_ERROR_NAME_NOT_RESOLVED = -110 |
182 }; | 191 }; |
183 | 192 |
OLD | NEW |