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

Side by Side Diff: ppapi/api/pp_errors.idl

Issue 270213004: Implement Pepper PPB_VideoDecoder interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable some unit tests on Win 64 bit builds. Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « mojo/examples/pepper_container_app/resource_creation_impl.cc ('k') | ppapi/c/pp_errors.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 /** 6 /**
7 * This file defines an enumeration of all PPAPI error codes. 7 * This file defines an enumeration of all PPAPI error codes.
8 */ 8 */
9 9
10 /** 10 /**
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 */ 78 */
79 PP_ERROR_NOTSUPPORTED = -12, 79 PP_ERROR_NOTSUPPORTED = -12,
80 80
81 /** 81 /**
82 * Returned if you try to use a null completion callback to "block until 82 * Returned if you try to use a null completion callback to "block until
83 * complete" on the main thread. Blocking the main thread is not permitted 83 * complete" on the main thread. Blocking the main thread is not permitted
84 * to keep the browser responsive (otherwise, you may not be able to handle 84 * to keep the browser responsive (otherwise, you may not be able to handle
85 * input events, and there are reentrancy and deadlock issues). 85 * input events, and there are reentrancy and deadlock issues).
86 */ 86 */
87 PP_ERROR_BLOCKS_MAIN_THREAD = -13, 87 PP_ERROR_BLOCKS_MAIN_THREAD = -13,
88 /**
89 * This value indicates that the plugin sent bad input data to a resource,
90 * leaving it in an invalid state. The resource can't be used after returning
91 * this error and should be released.
92 */
93 PP_ERROR_MALFORMED_INPUT = -14,
94 /**
95 * This value indicates that a resource has failed. The resource can't be
96 * used after returning this error and should be released.
97 */
98 PP_ERROR_RESOURCE_FAILED = -15,
88 99
89 /** This value indicates failure due to a file that does not exist. */ 100 /** This value indicates failure due to a file that does not exist. */
90 PP_ERROR_FILENOTFOUND = -20, 101 PP_ERROR_FILENOTFOUND = -20,
91 /** This value indicates failure due to a file that already exists. */ 102 /** This value indicates failure due to a file that already exists. */
92 PP_ERROR_FILEEXISTS = -21, 103 PP_ERROR_FILEEXISTS = -21,
93 /** This value indicates failure due to a file that is too big. */ 104 /** This value indicates failure due to a file that is too big. */
94 PP_ERROR_FILETOOBIG = -22, 105 PP_ERROR_FILETOOBIG = -22,
95 /** 106 /**
96 * This value indicates failure due to a file having been modified 107 * This value indicates failure due to a file having been modified
97 * unexpectedly. 108 * unexpectedly.
(...skipping 24 matching lines...) Expand all
122 * Indicates an attempt to make a PPAPI call on a thread without previously 133 * Indicates an attempt to make a PPAPI call on a thread without previously
123 * registering a message loop via PPB_MessageLoop.AttachToCurrentThread. 134 * registering a message loop via PPB_MessageLoop.AttachToCurrentThread.
124 * Without this registration step, no PPAPI calls are supported. 135 * Without this registration step, no PPAPI calls are supported.
125 */ 136 */
126 PP_ERROR_NO_MESSAGE_LOOP = -51, 137 PP_ERROR_NO_MESSAGE_LOOP = -51,
127 /** 138 /**
128 * Indicates that the requested operation is not permitted on the current 139 * Indicates that the requested operation is not permitted on the current
129 * thread. 140 * thread.
130 */ 141 */
131 PP_ERROR_WRONG_THREAD = -52, 142 PP_ERROR_WRONG_THREAD = -52,
143
132 /** 144 /**
133 * This value indicates that the connection was closed. For TCP sockets, it 145 * This value indicates that the connection was closed. For TCP sockets, it
134 * corresponds to a TCP FIN. 146 * corresponds to a TCP FIN.
135 */ 147 */
136 PP_ERROR_CONNECTION_CLOSED = -100, 148 PP_ERROR_CONNECTION_CLOSED = -100,
137 /** 149 /**
138 * This value indicates that the connection was reset. For TCP sockets, it 150 * This value indicates that the connection was reset. For TCP sockets, it
139 * corresponds to a TCP RST. 151 * corresponds to a TCP RST.
140 */ 152 */
141 PP_ERROR_CONNECTION_RESET = -101, 153 PP_ERROR_CONNECTION_RESET = -101,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 /** 186 /**
175 * This value indicates that the message was too large for the transport. 187 * This value indicates that the message was too large for the transport.
176 */ 188 */
177 PP_ERROR_MESSAGE_TOO_BIG = -109, 189 PP_ERROR_MESSAGE_TOO_BIG = -109,
178 /** 190 /**
179 * This value indicates that the host name could not be resolved. 191 * This value indicates that the host name could not be resolved.
180 */ 192 */
181 PP_ERROR_NAME_NOT_RESOLVED = -110 193 PP_ERROR_NAME_NOT_RESOLVED = -110
182 }; 194 };
183 195
OLDNEW
« no previous file with comments | « mojo/examples/pepper_container_app/resource_creation_impl.cc ('k') | ppapi/c/pp_errors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698