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