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

Unified Diff: ppapi/c/ppb_message_loop.h

Issue 11962050: Fix the comment of PPB_MessageLoop.PostWork() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/ppb_message_loop.idl ('k') | ppapi/cpp/message_loop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_message_loop.h
diff --git a/ppapi/c/ppb_message_loop.h b/ppapi/c/ppb_message_loop.h
index c4d2e32e338ba213862f8f9be1fd11343ad9ffb0..2ff9511035b2b77fb3c612678387d1a0f5342827 100644
--- a/ppapi/c/ppb_message_loop.h
+++ b/ppapi/c/ppb_message_loop.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_message_loop.idl modified Tue Nov 20 08:49:26 2012. */
+/* From ppb_message_loop.idl modified Thu Jan 17 12:04:14 2013. */
#ifndef PPAPI_C_PPB_MESSAGE_LOOP_H_
#define PPAPI_C_PPB_MESSAGE_LOOP_H_
@@ -135,7 +135,7 @@
*
* pp::CompletionCallback callback = factory_.NewOptionalCallback(...);
* int32_t result = message_loop.PostWork(callback);
- * if (result != PP_OK_COMPLETIONPENDING)
+ * if (result != PP_OK)
* callback.Run(result);
*
* This will run the callback with an error value, and assumes that the
@@ -244,9 +244,9 @@ struct PPB_MessageLoop_1_0 {
* PP_FALSE. It will be queued until the next invocation of Run().
*
* @return
- * - PP_OK_COMPLETIONPENDING: The work was posted to the message loop's
- * queue. As described above, this does not mean that the work has been
- * or will be executed (if you never run the message loop after posting).
+ * - PP_OK: The work was posted to the message loop's queue. As described
+ * above, this does not mean that the work has been or will be executed
+ * (if you never run the message loop after posting).
* - PP_ERROR_BADRESOURCE: The given message loop resource is invalid.
* - PP_ERROR_BADARGUMENT: The function pointer for the completion callback
* is null (this will be the case if you pass PP_BlockUntilComplete()).
« no previous file with comments | « ppapi/api/ppb_message_loop.idl ('k') | ppapi/cpp/message_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698