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

Unified Diff: ppapi/c/pp_errors.h

Issue 600553002: PPAPI: Disallow blocking callbacks while handling a blocking message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: try to improve comment Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/api/pp_errors.idl ('k') | ppapi/proxy/message_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/pp_errors.h
diff --git a/ppapi/c/pp_errors.h b/ppapi/c/pp_errors.h
index e65bb92144b8ce7ac09bd84bcca92d3b9b26ed40..01b6dbc351db97341564184c98901ff98cc025e7 100644
--- a/ppapi/c/pp_errors.h
+++ b/ppapi/c/pp_errors.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From pp_errors.idl modified Thu May 15 16:12:26 2014. */
+/* From pp_errors.idl modified Tue Sep 23 15:37:27 2014. */
#ifndef PPAPI_C_PP_ERRORS_H_
#define PPAPI_C_PP_ERRORS_H_
@@ -141,6 +141,13 @@ enum {
*/
PP_ERROR_WRONG_THREAD = -52,
/**
+ * Indicates that a null completion callback was used on a thread handling a
+ * blocking message from JavaScript. Null completion callbacks "block until
+ * complete", which could cause the main JavaScript thread to be blocked
+ * excessively.
+ */
+ PP_ERROR_WOULD_BLOCK_THREAD = -53,
+ /**
* This value indicates that the connection was closed. For TCP sockets, it
* corresponds to a TCP FIN.
*/
« no previous file with comments | « ppapi/api/pp_errors.idl ('k') | ppapi/proxy/message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698