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 Dec 20 14:28:44 2012. */ | 6 /* From pp_errors.idl modified Thu Mar 28 10:12:22 2013. */ |
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 /** | 83 /** |
84 * Returned if you try to use a null completion callback to "block until | 84 * Returned if you try to use a null completion callback to "block until |
85 * complete" on the main thread. Blocking the main thread is not permitted | 85 * complete" on the main thread. Blocking the main thread is not permitted |
86 * to keep the browser responsive (otherwise, you may not be able to handle | 86 * to keep the browser responsive (otherwise, you may not be able to handle |
87 * input events, and there are reentrancy and deadlock issues). | 87 * input events, and there are reentrancy and deadlock issues). |
88 * | 88 * |
89 * The goal is to provide blocking calls from background threads, but PPAPI | 89 * The goal is to provide blocking calls from background threads, but PPAPI |
90 * calls on background threads are not currently supported. Until this | 90 * calls on background threads are not currently supported. Until this |
91 * support is complete, you must either do asynchronous operations on the | 91 * support is complete, you must either do asynchronous operations on the |
92 * main thread, or provide an adaptor for a blocking background thread to | 92 * main thread, or provide an adaptor for a blocking background thread to |
93 * execute the operaitions on the main thread. | 93 * execute the operations on the main thread. |
94 */ | 94 */ |
95 PP_ERROR_BLOCKS_MAIN_THREAD = -13, | 95 PP_ERROR_BLOCKS_MAIN_THREAD = -13, |
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 |
103 * unexpectedly. | 103 * unexpectedly. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 * thread. | 135 * thread. |
136 */ | 136 */ |
137 PP_ERROR_WRONG_THREAD = -52 | 137 PP_ERROR_WRONG_THREAD = -52 |
138 }; | 138 }; |
139 /** | 139 /** |
140 * @} | 140 * @} |
141 */ | 141 */ |
142 | 142 |
143 #endif /* PPAPI_C_PP_ERRORS_H_ */ | 143 #endif /* PPAPI_C_PP_ERRORS_H_ */ |
144 | 144 |
OLD | NEW |