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