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