OLD | NEW |
1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 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 #ifndef PPAPI_C_PP_ERRORS_H_ | 5 #ifndef PPAPI_C_PP_ERRORS_H_ |
6 #define PPAPI_C_PP_ERRORS_H_ | 6 #define PPAPI_C_PP_ERRORS_H_ |
7 | 7 |
8 /** | 8 /** |
9 * @file | 9 * @file |
10 * Defines the API ... | 10 * Defines the API ... |
| 11 |
| 12 */ |
| 13 /** |
11 * | 14 * |
12 * @addtogroup PP | 15 * @addtogroup Enums |
13 * @{ | 16 * @{ |
14 */ | 17 */ |
15 | 18 |
16 /** Errors are negative valued. */ | 19 /** Errors are negative valued. */ |
17 enum { | 20 enum { |
18 PP_OK = 0, | 21 PP_OK = 0, |
19 | 22 |
20 /** | 23 /** |
21 * Returned by a function, taking a PP_CompletionCallback, that cannot | 24 * Returned by a function, taking a PP_CompletionCallback, that cannot |
22 * complete synchronously. This return value indicates that the given | 25 * complete synchronously. This return value indicates that the given |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 | 72 |
70 /** Indicates failure due to a file having been modified unexpectedly. */ | 73 /** Indicates failure due to a file having been modified unexpectedly. */ |
71 PP_ERROR_FILECHANGED = -23, | 74 PP_ERROR_FILECHANGED = -23, |
72 | 75 |
73 /** Indicates failure due to a time limit being exceeded. */ | 76 /** Indicates failure due to a time limit being exceeded. */ |
74 PP_ERROR_TIMEDOUT = -30 | 77 PP_ERROR_TIMEDOUT = -30 |
75 }; | 78 }; |
76 | 79 |
77 /** | 80 /** |
78 * @} | 81 * @} |
79 * End of addtogroup PP | 82 * End of addtogroup Enums |
80 */ | 83 */ |
81 | 84 |
82 #endif /* PPAPI_C_PP_ERRORS_H_ */ | 85 #endif /* PPAPI_C_PP_ERRORS_H_ */ |
83 | 86 |
OLD | NEW |