| OLD | NEW |
| 1 /* Copyright (c) 2011 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 the API to create and run a callback. | 7 * This file defines the API to create and run a callback. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 /** | 10 /** |
| 11 * This typedef defines the signature that you implement to receive callbacks | 11 * This typedef defines the signature that you implement to receive callbacks |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 struct PP_CompletionCallback temp = *cc; | 203 struct PP_CompletionCallback temp = *cc; |
| 204 *cc = PP_BlockUntilComplete(); | 204 *cc = PP_BlockUntilComplete(); |
| 205 PP_RunCompletionCallback(&temp, res); | 205 PP_RunCompletionCallback(&temp, res); |
| 206 } | 206 } |
| 207 /** | 207 /** |
| 208 * @} | 208 * @} |
| 209 */ | 209 */ |
| 210 | 210 |
| 211 #endinl | 211 #endinl |
| 212 | 212 |
| OLD | NEW |