| OLD | NEW |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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_completion_callback.idl modified Thu Aug 11 14:45:09 2011. */ | 6 /* From pp_completion_callback.idl modified Wed Oct 5 14:06:02 2011. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_PP_COMPLETION_CALLBACK_H_ | 8 #ifndef PPAPI_C_PP_COMPLETION_CALLBACK_H_ |
| 9 #define PPAPI_C_PP_COMPLETION_CALLBACK_H_ | 9 #define PPAPI_C_PP_COMPLETION_CALLBACK_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/pp_macros.h" | 11 #include "ppapi/c/pp_macros.h" |
| 12 #include "ppapi/c/pp_stdint.h" | 12 #include "ppapi/c/pp_stdint.h" |
| 13 | 13 |
| 14 /** | 14 /** |
| 15 * @file | 15 * @file |
| 16 * This file defines the API to create and run a callback. | 16 * This file defines the API to create and run a callback. |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 struct PP_CompletionCallback temp = *cc; | 230 struct PP_CompletionCallback temp = *cc; |
| 231 *cc = PP_BlockUntilComplete(); | 231 *cc = PP_BlockUntilComplete(); |
| 232 PP_RunCompletionCallback(&temp, res); | 232 PP_RunCompletionCallback(&temp, res); |
| 233 } | 233 } |
| 234 /** | 234 /** |
| 235 * @} | 235 * @} |
| 236 */ | 236 */ |
| 237 | 237 |
| 238 #endif /* PPAPI_C_PP_COMPLETION_CALLBACK_H_ */ | 238 #endif /* PPAPI_C_PP_COMPLETION_CALLBACK_H_ */ |
| 239 | 239 |
| OLD | NEW |