OLD | NEW |
1 # Copyright (c) 2010 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2010 The Native Client 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 # RPC methods used to implement PPB_URLResponseInfo calls from the plugin. | 5 # RPC methods used to implement PPB_URLResponseInfo calls from the plugin. |
6 # See ppapi/c/ppb_url_response_info.h for interface details. | 6 # See ppapi/c/ppb_url_response_info.h for interface details. |
7 | 7 |
8 { | 8 { |
9 'name': 'PpbURLResponseInfoRpc', | 9 'name': 'PpbURLResponseInfoRpc', |
10 'rpcs': [ | 10 'rpcs': [ |
11 {'name': 'PPB_URLResponseInfo_IsURLResponseInfo', | 11 {'name': 'PPB_URLResponseInfo_IsURLResponseInfo', |
12 'inputs': [['resource', 'int64_t'], # PP_Resource | 12 'inputs': [['resource', 'PP_Resource'], # PP_Resource |
13 ], | 13 ], |
14 'outputs': [['is_url_response_info', 'int32_t'], # PP_Bool | 14 'outputs': [['is_url_response_info', 'int32_t'], # PP_Bool |
15 ] | 15 ] |
16 }, | 16 }, |
17 {'name': 'PPB_URLResponseInfo_GetProperty', | 17 {'name': 'PPB_URLResponseInfo_GetProperty', |
18 'inputs': [['response', 'int64_t'], # PP_Resource | 18 'inputs': [['response', 'PP_Resource'], # PP_Resource |
19 ['property', 'int32_t'], # PP_URLResponseProperty | 19 ['property', 'int32_t'], # PP_URLResponseProperty |
20 ], | 20 ], |
21 'outputs': [['value', 'char[]'], # PP_Var | 21 'outputs': [['value', 'char[]'], # PP_Var |
22 ] | 22 ] |
23 }, | 23 }, |
24 {'name': 'PPB_URLResponseInfo_GetBodyAsFileRef', | 24 {'name': 'PPB_URLResponseInfo_GetBodyAsFileRef', |
25 'inputs': [['response', 'int64_t'], # PP_Resource | 25 'inputs': [['response', 'PP_Resource'], # PP_Resource |
26 ], | 26 ], |
27 'outputs': [['file_ref', 'int64_t'], # PP_Resource | 27 'outputs': [['file_ref', 'PP_Resource'], # PP_Resource |
28 ] | 28 ] |
29 }, | 29 }, |
30 ] | 30 ] |
31 } | 31 } |
OLD | NEW |