Chromium Code Reviews| 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 means that the | |
| 94 * plugin's request was valid but the browser could not complete it. Some | |
|
yzshen1
2014/05/15 00:55:30
Hmm.. I think we have a lot of cases in which plug
bbudge
2014/05/15 01:19:18
I've changed the docs. I think the unique thing ab
yzshen1
2014/05/15 17:07:22
Yes, PP_ERROR_UNRECOVERABLE_ERROR sounds easier to
| |
| 95 * causes of platform failures are hardware and driver limitations, and bugs | |
| 96 * in the browser. | |
| 97 */ | |
| 98 PP_ERROR_PLATFORM_FAILED = -15, | |
| 88 | 99 |
| 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. |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 174 /** | 185 /** |
| 175 * This value indicates that the message was too large for the transport. | 186 * This value indicates that the message was too large for the transport. |
| 176 */ | 187 */ |
| 177 PP_ERROR_MESSAGE_TOO_BIG = -109, | 188 PP_ERROR_MESSAGE_TOO_BIG = -109, |
| 178 /** | 189 /** |
| 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 |
| OLD | NEW |