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

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: Fixed comments. Created 8 years, 4 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 2968 matching lines...) Expand 10 before | Expand all | Expand 10 after
2979 NaClSrpcError retval; 2979 NaClSrpcError retval;
2980 retval = NaClSrpcInvokeBySignature( 2980 retval = NaClSrpcInvokeBySignature(
2981 channel, 2981 channel,
2982 "PPB_UDPSocket_Private_IsUDPSocket:i:i", 2982 "PPB_UDPSocket_Private_IsUDPSocket:i:i",
2983 resource_id, 2983 resource_id,
2984 is_udp_socket_private 2984 is_udp_socket_private
2985 ); 2985 );
2986 return retval; 2986 return retval;
2987 } 2987 }
2988 2988
2989 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_SetSocketFeatu re(
brettw 2012/08/20 04:34:45 If this file isn't autogenerated, check length
ygorshenin1 2012/08/20 12:08:01 This file is autogenerated by src/ppapi/native_cli
2990 NaClSrpcChannel* channel,
2991 PP_Resource udp_socket,
2992 int32_t name,
2993 nacl_abi_size_t value_bytes, char* value,
2994 int32_t callback_id,
2995 int32_t* pp_error) {
2996 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2997 ("%s: PPAPI calls are not supported off the main thread\n",
2998 __FUNCTION__));
2999 NaClSrpcError retval;
3000 retval = NaClSrpcInvokeBySignature(
3001 channel,
3002 "PPB_UDPSocket_Private_SetSocketFeature:iiCi:i",
3003 udp_socket,
3004 name,
3005 value_bytes, value,
3006 callback_id,
3007 pp_error
3008 );
3009 return retval;
3010 }
3011
2989 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_Bind( 3012 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_Bind(
2990 NaClSrpcChannel* channel, 3013 NaClSrpcChannel* channel,
2991 PP_Resource udp_socket, 3014 PP_Resource udp_socket,
2992 nacl_abi_size_t addr_bytes, char* addr, 3015 nacl_abi_size_t addr_bytes, char* addr,
2993 int32_t callback_id, 3016 int32_t callback_id,
2994 int32_t* pp_error) { 3017 int32_t* pp_error) {
2995 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), 3018 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2996 ("%s: PPAPI calls are not supported off the main thread\n", 3019 ("%s: PPAPI calls are not supported off the main thread\n",
2997 __FUNCTION__)); 3020 __FUNCTION__));
2998 NaClSrpcError retval; 3021 NaClSrpcError retval;
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after
3831 channel, 3854 channel,
3832 "PPB_Zoom_ZoomLimitsChanged:idd:", 3855 "PPB_Zoom_ZoomLimitsChanged:idd:",
3833 instance, 3856 instance,
3834 minimum_factor, 3857 minimum_factor,
3835 maximum_factor 3858 maximum_factor
3836 ); 3859 );
3837 return retval; 3860 return retval;
3838 } 3861 }
3839 3862
3840 3863
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698