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

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: Deleted callbacks. 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 3152 matching lines...) Expand 10 before | Expand all | Expand 10 after
3163 NaClSrpcError retval; 3163 NaClSrpcError retval;
3164 retval = NaClSrpcInvokeBySignature( 3164 retval = NaClSrpcInvokeBySignature(
3165 channel, 3165 channel,
3166 "PPB_UDPSocket_Private_IsUDPSocket:i:i", 3166 "PPB_UDPSocket_Private_IsUDPSocket:i:i",
3167 resource_id, 3167 resource_id,
3168 is_udp_socket_private 3168 is_udp_socket_private
3169 ); 3169 );
3170 return retval; 3170 return retval;
3171 } 3171 }
3172 3172
3173 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_SetSocketFeatu re(
3174 NaClSrpcChannel* channel,
3175 PP_Resource udp_socket,
3176 int32_t name,
3177 nacl_abi_size_t value_bytes, char* value,
3178 int32_t* pp_error) {
3179 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
3180 ("%s: PPAPI calls are not supported off the main thread\n",
3181 __FUNCTION__));
3182 NaClSrpcError retval;
3183 retval = NaClSrpcInvokeBySignature(
3184 channel,
3185 "PPB_UDPSocket_Private_SetSocketFeature:iiC:i",
3186 udp_socket,
3187 name,
3188 value_bytes, value,
3189 pp_error
3190 );
3191 return retval;
3192 }
3193
3173 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_Bind( 3194 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_Bind(
3174 NaClSrpcChannel* channel, 3195 NaClSrpcChannel* channel,
3175 PP_Resource udp_socket, 3196 PP_Resource udp_socket,
3176 nacl_abi_size_t addr_bytes, char* addr, 3197 nacl_abi_size_t addr_bytes, char* addr,
3177 int32_t callback_id, 3198 int32_t callback_id,
3178 int32_t* pp_error) { 3199 int32_t* pp_error) {
3179 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), 3200 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
3180 ("%s: PPAPI calls are not supported off the main thread\n", 3201 ("%s: PPAPI calls are not supported off the main thread\n",
3181 __FUNCTION__)); 3202 __FUNCTION__));
3182 NaClSrpcError retval; 3203 NaClSrpcError retval;
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after
4015 channel, 4036 channel,
4016 "PPB_Zoom_ZoomLimitsChanged:idd:", 4037 "PPB_Zoom_ZoomLimitsChanged:idd:",
4017 instance, 4038 instance,
4018 minimum_factor, 4039 minimum_factor,
4019 maximum_factor 4040 maximum_factor
4020 ); 4041 );
4021 return retval; 4042 return retval;
4022 } 4043 }
4023 4044
4024 4045
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698