OLD | NEW |
1 /* Copyright (c) 2012 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 /* URL loader trusted interfaces. */ | 6 /* URL loader trusted interfaces. */ |
7 | 7 |
| 8 [generate_thunk] |
| 9 |
8 label Chrome { | 10 label Chrome { |
9 M14 = 0.3 | 11 M14 = 0.3 |
10 }; | 12 }; |
11 | 13 |
12 /** | 14 /** |
13 * Callback that indicates the status of the download and upload for the | 15 * Callback that indicates the status of the download and upload for the |
14 * given URLLoader resource. | 16 * given URLLoader resource. |
15 */ | 17 */ |
16 typedef void PP_URLLoaderTrusted_StatusCallback( | 18 typedef void PP_URLLoaderTrusted_StatusCallback( |
17 [in] PP_Instance pp_instance, | 19 [in] PP_Instance pp_instance, |
(...skipping 22 matching lines...) Expand all Loading... |
40 * | 42 * |
41 * However, the proxy layer needs this information to push to the other | 43 * However, the proxy layer needs this information to push to the other |
42 * process, so we expose it here. Only one callback can be set per URL | 44 * process, so we expose it here. Only one callback can be set per URL |
43 * Loader. Setting to a NULL callback will disable it. | 45 * Loader. Setting to a NULL callback will disable it. |
44 */ | 46 */ |
45 void RegisterStatusCallback( | 47 void RegisterStatusCallback( |
46 [in] PP_Resource loader, | 48 [in] PP_Resource loader, |
47 [in] PP_URLLoaderTrusted_StatusCallback cb); | 49 [in] PP_URLLoaderTrusted_StatusCallback cb); |
48 }; | 50 }; |
49 | 51 |
OLD | NEW |