Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Side by Side Diff: ppapi/c/pp_errors.h

Issue 1093383002: [WIP] Provided file system from NACL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved several modules to chromeos folder. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/c/dev/ppb_filesystemprovider_dev.h ('k') | ppapi/cpp/dev/filesystem_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 Tue Sep 23 15:37:27 2014. */ 6 /* From pp_errors.idl modified Tue Jun 9 16:30:27 2015. */
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 * This value indicates that the plugin sent bad input data to a resource, 90 * This value indicates that the plugin sent bad input data to a resource,
91 * leaving it in an invalid state. The resource can't be used after returning 91 * leaving it in an invalid state. The resource can't be used after returning
92 * this error and should be released. 92 * this error and should be released.
93 */ 93 */
94 PP_ERROR_MALFORMED_INPUT = -14, 94 PP_ERROR_MALFORMED_INPUT = -14,
95 /** 95 /**
96 * This value indicates that a resource has failed. The resource can't be 96 * This value indicates that a resource has failed. The resource can't be
97 * used after returning this error and should be released. 97 * used after returning this error and should be released.
98 */ 98 */
99 PP_ERROR_RESOURCE_FAILED = -15, 99 PP_ERROR_RESOURCE_FAILED = -15,
100 /**
101 * This value indicates that there is a security related issue
102 */
103 PP_ERROR_SECURITY = -16,
100 /** This value indicates failure due to a file that does not exist. */ 104 /** This value indicates failure due to a file that does not exist. */
101 PP_ERROR_FILENOTFOUND = -20, 105 PP_ERROR_FILENOTFOUND = -20,
102 /** This value indicates failure due to a file that already exists. */ 106 /** This value indicates failure due to a file that already exists. */
103 PP_ERROR_FILEEXISTS = -21, 107 PP_ERROR_FILEEXISTS = -21,
104 /** This value indicates failure due to a file that is too big. */ 108 /** This value indicates failure due to a file that is too big. */
105 PP_ERROR_FILETOOBIG = -22, 109 PP_ERROR_FILETOOBIG = -22,
106 /** 110 /**
107 * This value indicates failure due to a file having been modified 111 * This value indicates failure due to a file having been modified
108 * unexpectedly. 112 * unexpectedly.
109 */ 113 */
110 PP_ERROR_FILECHANGED = -23, 114 PP_ERROR_FILECHANGED = -23,
111 /** This value indicates that the pathname does not reference a file. */ 115 /** This value indicates that the pathname does not reference a file. */
112 PP_ERROR_NOTAFILE = -24, 116 PP_ERROR_NOTAFILE = -24,
117 /** This value indicates that the file is not empty */
118 PP_ERROR_FILENOTEMPTY = -25,
119 /** Indicates that there are too many opened files */
120 PP_ERROR_FILE_TOO_MANY_OPENED = -26,
121 /** This value indicates that an IO error occured */
122 PP_ERROR_FILE_IO = -27,
123 /** This value indicates that path is not a directory */
124 PP_ERROR_NOTADIRECTORY = -28,
113 /** This value indicates failure due to a time limit being exceeded. */ 125 /** This value indicates failure due to a time limit being exceeded. */
114 PP_ERROR_TIMEDOUT = -30, 126 PP_ERROR_TIMEDOUT = -30,
115 /** 127 /**
116 * This value indicates that the user cancelled rather than providing 128 * This value indicates that the user cancelled rather than providing
117 * expected input. 129 * expected input.
118 */ 130 */
119 PP_ERROR_USERCANCEL = -40, 131 PP_ERROR_USERCANCEL = -40,
120 /** 132 /**
121 * This value indicates failure due to lack of a user gesture such as a 133 * This value indicates failure due to lack of a user gesture such as a
122 * mouse click or key input event. Examples of actions requiring a user 134 * mouse click or key input event. Examples of actions requiring a user
(...skipping 18 matching lines...) Expand all
141 */ 153 */
142 PP_ERROR_WRONG_THREAD = -52, 154 PP_ERROR_WRONG_THREAD = -52,
143 /** 155 /**
144 * Indicates that a null completion callback was used on a thread handling a 156 * Indicates that a null completion callback was used on a thread handling a
145 * blocking message from JavaScript. Null completion callbacks "block until 157 * blocking message from JavaScript. Null completion callbacks "block until
146 * complete", which could cause the main JavaScript thread to be blocked 158 * complete", which could cause the main JavaScript thread to be blocked
147 * excessively. 159 * excessively.
148 */ 160 */
149 PP_ERROR_WOULD_BLOCK_THREAD = -53, 161 PP_ERROR_WOULD_BLOCK_THREAD = -53,
150 /** 162 /**
163 * This value indicates that the provided url is malformed
164 */
165 PP_ERROR_INVALID_URL = -99,
166 /**
151 * This value indicates that the connection was closed. For TCP sockets, it 167 * This value indicates that the connection was closed. For TCP sockets, it
152 * corresponds to a TCP FIN. 168 * corresponds to a TCP FIN.
153 */ 169 */
154 PP_ERROR_CONNECTION_CLOSED = -100, 170 PP_ERROR_CONNECTION_CLOSED = -100,
155 /** 171 /**
156 * This value indicates that the connection was reset. For TCP sockets, it 172 * This value indicates that the connection was reset. For TCP sockets, it
157 * corresponds to a TCP RST. 173 * corresponds to a TCP RST.
158 */ 174 */
159 PP_ERROR_CONNECTION_RESET = -101, 175 PP_ERROR_CONNECTION_RESET = -101,
160 /** 176 /**
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 * This value indicates that the host name could not be resolved. 213 * This value indicates that the host name could not be resolved.
198 */ 214 */
199 PP_ERROR_NAME_NOT_RESOLVED = -110 215 PP_ERROR_NAME_NOT_RESOLVED = -110
200 }; 216 };
201 /** 217 /**
202 * @} 218 * @}
203 */ 219 */
204 220
205 #endif /* PPAPI_C_PP_ERRORS_H_ */ 221 #endif /* PPAPI_C_PP_ERRORS_H_ */
206 222
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_filesystemprovider_dev.h ('k') | ppapi/cpp/dev/filesystem_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698