| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 * The goal is to provide blocking calls from background threads, but PPAPI | 88 * The goal is to provide blocking calls from background threads, but PPAPI |
| 89 * calls on background threads are not currently supported. Until this | 89 * calls on background threads are not currently supported. Until this |
| 90 * support is complete, you must either do asynchronous operations on the | 90 * support is complete, you must either do asynchronous operations on the |
| 91 * main thread, or provide an adaptor for a blocking background thread to | 91 * main thread, or provide an adaptor for a blocking background thread to |
| 92 * execute the operaitions on the main thread. | 92 * execute the operations on the main thread. |
| 93 */ | 93 */ |
| 94 PP_ERROR_BLOCKS_MAIN_THREAD = -13, | 94 PP_ERROR_BLOCKS_MAIN_THREAD = -13, |
| 95 | 95 |
| 96 PP_ERROR_FILENOTFOUND = -20, | 96 PP_ERROR_FILENOTFOUND = -20, |
| 97 /** This value indicates failure due to a file that already exists. */ | 97 /** This value indicates failure due to a file that already exists. */ |
| 98 PP_ERROR_FILEEXISTS = -21, | 98 PP_ERROR_FILEEXISTS = -21, |
| 99 /** This value indicates failure due to a file that is too big. */ | 99 /** This value indicates failure due to a file that is too big. */ |
| 100 PP_ERROR_FILETOOBIG = -22, | 100 PP_ERROR_FILETOOBIG = -22, |
| 101 /** | 101 /** |
| 102 * This value indicates failure due to a file having been modified | 102 * This value indicates failure due to a file having been modified |
| (...skipping 27 matching lines...) Expand all Loading... |
| 130 * Without this registration step, no PPAPI calls are supported. | 130 * Without this registration step, no PPAPI calls are supported. |
| 131 */ | 131 */ |
| 132 PP_ERROR_NO_MESSAGE_LOOP = -51, | 132 PP_ERROR_NO_MESSAGE_LOOP = -51, |
| 133 /** | 133 /** |
| 134 * Indicates that the requested operation is not permitted on the current | 134 * Indicates that the requested operation is not permitted on the current |
| 135 * thread. | 135 * thread. |
| 136 */ | 136 */ |
| 137 PP_ERROR_WRONG_THREAD = -52 | 137 PP_ERROR_WRONG_THREAD = -52 |
| 138 }; | 138 }; |
| 139 | 139 |
| OLD | NEW |