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 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING | 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
6 // | 6 // |
7 // Automatically generated code. See srpcgen.py | 7 // Automatically generated code. See srpcgen.py |
8 // | 8 // |
9 // NaCl Simple Remote Procedure Call interface abstractions. | 9 // NaCl Simple Remote Procedure Call interface abstractions. |
10 | 10 |
(...skipping 2008 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2019 NaClSrpcError retval; | 2019 NaClSrpcError retval; |
2020 retval = NaClSrpcInvokeBySignature( | 2020 retval = NaClSrpcInvokeBySignature( |
2021 channel, | 2021 channel, |
2022 "PPB_NetAddress_Private_GetAnyAddress:i:C", | 2022 "PPB_NetAddress_Private_GetAnyAddress:i:C", |
2023 is_ipv6, | 2023 is_ipv6, |
2024 addr_bytes, addr | 2024 addr_bytes, addr |
2025 ); | 2025 ); |
2026 return retval; | 2026 return retval; |
2027 } | 2027 } |
2028 | 2028 |
| 2029 NaClSrpcError PpbNetAddressPrivateRpcClient::PPB_NetAddress_Private_GetFamily( |
| 2030 NaClSrpcChannel* channel, |
| 2031 nacl_abi_size_t addr_bytes, char* addr, |
| 2032 int32_t* addr_family) { |
| 2033 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
| 2034 ("%s: PPAPI calls are not supported off the main thread\n", |
| 2035 __FUNCTION__)); |
| 2036 NaClSrpcError retval; |
| 2037 retval = NaClSrpcInvokeBySignature( |
| 2038 channel, |
| 2039 "PPB_NetAddress_Private_GetFamily:C:i", |
| 2040 addr_bytes, addr, |
| 2041 addr_family |
| 2042 ); |
| 2043 return retval; |
| 2044 } |
| 2045 |
| 2046 NaClSrpcError PpbNetAddressPrivateRpcClient::PPB_NetAddress_Private_GetPort( |
| 2047 NaClSrpcChannel* channel, |
| 2048 nacl_abi_size_t addr_bytes, char* addr, |
| 2049 int32_t* port) { |
| 2050 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
| 2051 ("%s: PPAPI calls are not supported off the main thread\n", |
| 2052 __FUNCTION__)); |
| 2053 NaClSrpcError retval; |
| 2054 retval = NaClSrpcInvokeBySignature( |
| 2055 channel, |
| 2056 "PPB_NetAddress_Private_GetPort:C:i", |
| 2057 addr_bytes, addr, |
| 2058 port |
| 2059 ); |
| 2060 return retval; |
| 2061 } |
| 2062 |
| 2063 NaClSrpcError PpbNetAddressPrivateRpcClient::PPB_NetAddress_Private_GetAddress( |
| 2064 NaClSrpcChannel* channel, |
| 2065 nacl_abi_size_t addr_bytes, char* addr, |
| 2066 nacl_abi_size_t* address_bytes, char* address, |
| 2067 int32_t* success) { |
| 2068 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
| 2069 ("%s: PPAPI calls are not supported off the main thread\n", |
| 2070 __FUNCTION__)); |
| 2071 NaClSrpcError retval; |
| 2072 retval = NaClSrpcInvokeBySignature( |
| 2073 channel, |
| 2074 "PPB_NetAddress_Private_GetAddress:C:Ci", |
| 2075 addr_bytes, addr, |
| 2076 address_bytes, address, |
| 2077 success |
| 2078 ); |
| 2079 return retval; |
| 2080 } |
| 2081 |
2029 NaClSrpcError PpbPdfRpcClient::PPB_PDF_GetLocalizedString( | 2082 NaClSrpcError PpbPdfRpcClient::PPB_PDF_GetLocalizedString( |
2030 NaClSrpcChannel* channel, | 2083 NaClSrpcChannel* channel, |
2031 PP_Instance instance, | 2084 PP_Instance instance, |
2032 int32_t string_id, | 2085 int32_t string_id, |
2033 nacl_abi_size_t* string_bytes, char* string) { | 2086 nacl_abi_size_t* string_bytes, char* string) { |
2034 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), | 2087 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
2035 ("%s: PPAPI calls are not supported off the main thread\n", | 2088 ("%s: PPAPI calls are not supported off the main thread\n", |
2036 __FUNCTION__)); | 2089 __FUNCTION__)); |
2037 NaClSrpcError retval; | 2090 NaClSrpcError retval; |
2038 retval = NaClSrpcInvokeBySignature( | 2091 retval = NaClSrpcInvokeBySignature( |
(...skipping 1522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3561 channel, | 3614 channel, |
3562 "PPB_Zoom_ZoomLimitsChanged:idd:", | 3615 "PPB_Zoom_ZoomLimitsChanged:idd:", |
3563 instance, | 3616 instance, |
3564 minimum_factor, | 3617 minimum_factor, |
3565 maximum_factor | 3618 maximum_factor |
3566 ); | 3619 ); |
3567 return retval; | 3620 return retval; |
3568 } | 3621 } |
3569 | 3622 |
3570 | 3623 |
OLD | NEW |