| 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 2793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2804 channel, | 2804 channel, |
| 2805 "PPB_UDPSocket_Private_Bind:iCi:i", | 2805 "PPB_UDPSocket_Private_Bind:iCi:i", |
| 2806 udp_socket, | 2806 udp_socket, |
| 2807 addr_bytes, addr, | 2807 addr_bytes, addr, |
| 2808 callback_id, | 2808 callback_id, |
| 2809 pp_error | 2809 pp_error |
| 2810 ); | 2810 ); |
| 2811 return retval; | 2811 return retval; |
| 2812 } | 2812 } |
| 2813 | 2813 |
| 2814 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_GetBoundAddres
s( |
| 2815 NaClSrpcChannel* channel, |
| 2816 PP_Resource udp_socket, |
| 2817 nacl_abi_size_t* addr_bytes, char* addr, |
| 2818 int32_t* success) { |
| 2819 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
| 2820 ("%s: PPAPI calls are not supported off the main thread\n", |
| 2821 __FUNCTION__)); |
| 2822 NaClSrpcError retval; |
| 2823 retval = NaClSrpcInvokeBySignature( |
| 2824 channel, |
| 2825 "PPB_UDPSocket_Private_GetBoundAddress:i:Ci", |
| 2826 udp_socket, |
| 2827 addr_bytes, addr, |
| 2828 success |
| 2829 ); |
| 2830 return retval; |
| 2831 } |
| 2832 |
| 2814 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_RecvFrom( | 2833 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_RecvFrom( |
| 2815 NaClSrpcChannel* channel, | 2834 NaClSrpcChannel* channel, |
| 2816 PP_Resource udp_socket, | 2835 PP_Resource udp_socket, |
| 2817 int32_t num_bytes, | 2836 int32_t num_bytes, |
| 2818 int32_t callback_id, | 2837 int32_t callback_id, |
| 2819 nacl_abi_size_t* buffer_bytes, char* buffer, | 2838 nacl_abi_size_t* buffer_bytes, char* buffer, |
| 2820 int32_t* pp_error_or_bytes) { | 2839 int32_t* pp_error_or_bytes) { |
| 2821 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), | 2840 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
| 2822 ("%s: PPAPI calls are not supported off the main thread\n", | 2841 ("%s: PPAPI calls are not supported off the main thread\n", |
| 2823 __FUNCTION__)); | 2842 __FUNCTION__)); |
| (...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3614 channel, | 3633 channel, |
| 3615 "PPB_Zoom_ZoomLimitsChanged:idd:", | 3634 "PPB_Zoom_ZoomLimitsChanged:idd:", |
| 3616 instance, | 3635 instance, |
| 3617 minimum_factor, | 3636 minimum_factor, |
| 3618 maximum_factor | 3637 maximum_factor |
| 3619 ); | 3638 ); |
| 3620 return retval; | 3639 return retval; |
| 3621 } | 3640 } |
| 3622 | 3641 |
| 3623 | 3642 |
| OLD | NEW |