| Index: ppapi/c/ppb_message_loop.h
|
| diff --git a/ppapi/c/ppb_message_loop.h b/ppapi/c/ppb_message_loop.h
|
| index 2ff9511035b2b77fb3c612678387d1a0f5342827..7ecc9bd451dbdbf06ddb2b6ba8fa71f9ea6a6ada 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 Thu Jan 17 12:04:14 2013. */
|
| +/* From ppb_message_loop.idl modified Thu Mar 28 14:25:24 2013. */
|
|
|
| #ifndef PPAPI_C_PPB_MESSAGE_LOOP_H_
|
| #define PPAPI_C_PPB_MESSAGE_LOOP_H_
|
| @@ -55,6 +55,7 @@
|
| * - Call Run() with the message loop resource.
|
| *
|
| * Your callacks should look like this:
|
| + * @code
|
| * void DoMyWork(void* user_data, int32_t status) {
|
| * if (status != PP_OK) {
|
| * Cleanup(); // e.g. free user_data.
|
| @@ -62,6 +63,7 @@
|
| * }
|
| * ... do your work...
|
| * }
|
| + * @endcode
|
| * For a C++ example, see ppapi/utility/threading/simple_thread.h
|
| *
|
| * (You can also create the message loop resource on the background thread,
|
|
|