Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(519)

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc

Issue 10735056: AllowBroadcast() is exposed to NaCl. (Closed) Base URL: http://git.chromium.org/chromium/src.git@udp_broadcast
Patch Set: Sync. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 2779 matching lines...) Expand 10 before | Expand all | Expand 10 after
2790 NaClSrpcError retval; 2790 NaClSrpcError retval;
2791 retval = NaClSrpcInvokeBySignature( 2791 retval = NaClSrpcInvokeBySignature(
2792 channel, 2792 channel,
2793 "PPB_UDPSocket_Private_IsUDPSocket:i:i", 2793 "PPB_UDPSocket_Private_IsUDPSocket:i:i",
2794 resource_id, 2794 resource_id,
2795 is_udp_socket_private 2795 is_udp_socket_private
2796 ); 2796 );
2797 return retval; 2797 return retval;
2798 } 2798 }
2799 2799
2800 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_SetSocketFeatu re(
2801 NaClSrpcChannel* channel,
2802 PP_Resource udp_socket,
2803 int32_t name,
2804 nacl_abi_size_t value_bytes, char* value,
2805 int32_t* pp_error) {
2806 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2807 ("%s: PPAPI calls are not supported off the main thread\n",
2808 __FUNCTION__));
2809 NaClSrpcError retval;
2810 retval = NaClSrpcInvokeBySignature(
2811 channel,
2812 "PPB_UDPSocket_Private_SetSocketFeature:iiC:i",
2813 udp_socket,
2814 name,
2815 value_bytes, value,
2816 pp_error
2817 );
2818 return retval;
2819 }
2820
2800 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_Bind( 2821 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_Bind(
2801 NaClSrpcChannel* channel, 2822 NaClSrpcChannel* channel,
2802 PP_Resource udp_socket, 2823 PP_Resource udp_socket,
2803 nacl_abi_size_t addr_bytes, char* addr, 2824 nacl_abi_size_t addr_bytes, char* addr,
2804 int32_t callback_id, 2825 int32_t callback_id,
2805 int32_t* pp_error) { 2826 int32_t* pp_error) {
2806 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), 2827 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2807 ("%s: PPAPI calls are not supported off the main thread\n", 2828 ("%s: PPAPI calls are not supported off the main thread\n",
2808 __FUNCTION__)); 2829 __FUNCTION__));
2809 NaClSrpcError retval; 2830 NaClSrpcError retval;
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
3549 channel, 3570 channel,
3550 "PPB_Zoom_ZoomLimitsChanged:idd:", 3571 "PPB_Zoom_ZoomLimitsChanged:idd:",
3551 instance, 3572 instance,
3552 minimum_factor, 3573 minimum_factor,
3553 maximum_factor 3574 maximum_factor
3554 ); 3575 );
3555 return retval; 3576 return retval;
3556 } 3577 }
3557 3578
3558 3579
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698