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 ... |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 /** Indicates failure due to a file that already exists. */ | 68 /** Indicates failure due to a file that already exists. */ |
69 PP_ERROR_FILEEXISTS = -21, | 69 PP_ERROR_FILEEXISTS = -21, |
70 | 70 |
71 /** Indicates failure due to a file that is too big. */ | 71 /** Indicates failure due to a file that is too big. */ |
72 PP_ERROR_FILETOOBIG = -22, | 72 PP_ERROR_FILETOOBIG = -22, |
73 | 73 |
74 /** Indicates failure due to a file having been modified unexpectedly. */ | 74 /** Indicates failure due to a file having been modified unexpectedly. */ |
75 PP_ERROR_FILECHANGED = -23, | 75 PP_ERROR_FILECHANGED = -23, |
76 | 76 |
77 /** Indicates failure due to a time limit being exceeded. */ | 77 /** Indicates failure due to a time limit being exceeded. */ |
78 PP_ERROR_TIMEDOUT = -30 | 78 PP_ERROR_TIMEDOUT = -30, |
| 79 |
| 80 /** Indicates that the user cancelled rather providing expected input. */ |
| 81 PP_ERROR_USERCANCEL = -40 |
79 }; | 82 }; |
80 | 83 |
81 /** | 84 /** |
82 * @} | 85 * @} |
83 * End of addtogroup Enums | 86 * End of addtogroup Enums |
84 */ | 87 */ |
85 | 88 |
86 #endif /* PPAPI_C_PP_ERRORS_H_ */ | 89 #endif /* PPAPI_C_PP_ERRORS_H_ */ |
87 | |
OLD | NEW |