Index: ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc |
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc b/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc |
index 68c19ab2859f59b01a144fd4bfefe54ca98705cb..78aed1c5076e2b8abf3339db120f7ecb42abecec 100644 |
--- a/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc |
+++ b/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc |
@@ -2811,6 +2811,25 @@ NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_Bind( |
return retval; |
} |
+NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_GetBoundAddress( |
+ NaClSrpcChannel* channel, |
+ PP_Resource udp_socket, |
+ nacl_abi_size_t* addr_bytes, char* addr, |
+ int32_t* success) { |
+ VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
+ ("%s: PPAPI calls are not supported off the main thread\n", |
+ __FUNCTION__)); |
+ NaClSrpcError retval; |
+ retval = NaClSrpcInvokeBySignature( |
+ channel, |
+ "PPB_UDPSocket_Private_GetBoundAddress:i:Ci", |
+ udp_socket, |
+ addr_bytes, addr, |
+ success |
+ ); |
+ return retval; |
+} |
+ |
NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_RecvFrom( |
NaClSrpcChannel* channel, |
PP_Resource udp_socket, |