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

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

Issue 9212047: Add GetBoundAddress to PPB_UDPSocket_Private (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix build error after rebase Created 8 years, 10 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 | Annotate | Revision Log
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 2245 matching lines...) Expand 10 before | Expand all | Expand 10 after
2256 PpbUDPSocketPrivateRpcServer::PPB_UDPSocket_Private_Bind( 2256 PpbUDPSocketPrivateRpcServer::PPB_UDPSocket_Private_Bind(
2257 rpc, 2257 rpc,
2258 done, 2258 done,
2259 inputs[0]->u.ival, 2259 inputs[0]->u.ival,
2260 inputs[1]->u.count, inputs[1]->arrays.carr, 2260 inputs[1]->u.count, inputs[1]->arrays.carr,
2261 inputs[2]->u.ival, 2261 inputs[2]->u.ival,
2262 &(outputs[0]->u.ival) 2262 &(outputs[0]->u.ival)
2263 ); 2263 );
2264 } 2264 }
2265 2265
2266 static void PPB_UDPSocket_Private_GetBoundAddressDispatcher(
2267 NaClSrpcRpc* rpc,
2268 NaClSrpcArg** inputs,
2269 NaClSrpcArg** outputs,
2270 NaClSrpcClosure* done
2271 ) {
2272 PpbUDPSocketPrivateRpcServer::PPB_UDPSocket_Private_GetBoundAddress(
2273 rpc,
2274 done,
2275 inputs[0]->u.ival,
2276 &(outputs[0]->u.count), outputs[0]->arrays.carr,
2277 &(outputs[1]->u.ival)
2278 );
2279 }
2280
2266 static void PPB_UDPSocket_Private_RecvFromDispatcher( 2281 static void PPB_UDPSocket_Private_RecvFromDispatcher(
2267 NaClSrpcRpc* rpc, 2282 NaClSrpcRpc* rpc,
2268 NaClSrpcArg** inputs, 2283 NaClSrpcArg** inputs,
2269 NaClSrpcArg** outputs, 2284 NaClSrpcArg** outputs,
2270 NaClSrpcClosure* done 2285 NaClSrpcClosure* done
2271 ) { 2286 ) {
2272 PpbUDPSocketPrivateRpcServer::PPB_UDPSocket_Private_RecvFrom( 2287 PpbUDPSocketPrivateRpcServer::PPB_UDPSocket_Private_RecvFrom(
2273 rpc, 2288 rpc,
2274 done, 2289 done,
2275 inputs[0]->u.ival, 2290 inputs[0]->u.ival,
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
3052 { "PPB_TCPSocket_Private_Disconnect:i:", PPB_TCPSocket_Private_DisconnectDispa tcher }, 3067 { "PPB_TCPSocket_Private_Disconnect:i:", PPB_TCPSocket_Private_DisconnectDispa tcher },
3053 { "PPB_Testing_ReadImageData:iiC:i", PPB_Testing_ReadImageDataDispatcher }, 3068 { "PPB_Testing_ReadImageData:iiC:i", PPB_Testing_ReadImageDataDispatcher },
3054 { "PPB_Testing_RunMessageLoop:i:", PPB_Testing_RunMessageLoopDispatcher }, 3069 { "PPB_Testing_RunMessageLoop:i:", PPB_Testing_RunMessageLoopDispatcher },
3055 { "PPB_Testing_QuitMessageLoop:i:", PPB_Testing_QuitMessageLoopDispatcher }, 3070 { "PPB_Testing_QuitMessageLoop:i:", PPB_Testing_QuitMessageLoopDispatcher },
3056 { "PPB_Testing_GetLiveObjectsForInstance:i:i", PPB_Testing_GetLiveObjectsForIn stanceDispatcher }, 3071 { "PPB_Testing_GetLiveObjectsForInstance:i:i", PPB_Testing_GetLiveObjectsForIn stanceDispatcher },
3057 { "PPB_Testing_SimulateInputEvent:ii:", PPB_Testing_SimulateInputEventDispatch er }, 3072 { "PPB_Testing_SimulateInputEvent:ii:", PPB_Testing_SimulateInputEventDispatch er },
3058 { "PPB_Testing_GetDocumentURL:i:CC", PPB_Testing_GetDocumentURLDispatcher }, 3073 { "PPB_Testing_GetDocumentURL:i:CC", PPB_Testing_GetDocumentURLDispatcher },
3059 { "PPB_UDPSocket_Private_Create:i:i", PPB_UDPSocket_Private_CreateDispatcher } , 3074 { "PPB_UDPSocket_Private_Create:i:i", PPB_UDPSocket_Private_CreateDispatcher } ,
3060 { "PPB_UDPSocket_Private_IsUDPSocket:i:i", PPB_UDPSocket_Private_IsUDPSocketDi spatcher }, 3075 { "PPB_UDPSocket_Private_IsUDPSocket:i:i", PPB_UDPSocket_Private_IsUDPSocketDi spatcher },
3061 { "PPB_UDPSocket_Private_Bind:iCi:i", PPB_UDPSocket_Private_BindDispatcher }, 3076 { "PPB_UDPSocket_Private_Bind:iCi:i", PPB_UDPSocket_Private_BindDispatcher },
3077 { "PPB_UDPSocket_Private_GetBoundAddress:i:Ci", PPB_UDPSocket_Private_GetBound AddressDispatcher },
3062 { "PPB_UDPSocket_Private_RecvFrom:iii:Ci", PPB_UDPSocket_Private_RecvFromDispa tcher }, 3078 { "PPB_UDPSocket_Private_RecvFrom:iii:Ci", PPB_UDPSocket_Private_RecvFromDispa tcher },
3063 { "PPB_UDPSocket_Private_GetRecvFromAddress:i:Ci", PPB_UDPSocket_Private_GetRe cvFromAddressDispatcher }, 3079 { "PPB_UDPSocket_Private_GetRecvFromAddress:i:Ci", PPB_UDPSocket_Private_GetRe cvFromAddressDispatcher },
3064 { "PPB_UDPSocket_Private_SendTo:iCiCi:i", PPB_UDPSocket_Private_SendToDispatch er }, 3080 { "PPB_UDPSocket_Private_SendTo:iCiCi:i", PPB_UDPSocket_Private_SendToDispatch er },
3065 { "PPB_UDPSocket_Private_Close:i:", PPB_UDPSocket_Private_CloseDispatcher }, 3081 { "PPB_UDPSocket_Private_Close:i:", PPB_UDPSocket_Private_CloseDispatcher },
3066 { "PPB_URLLoader_Create:i:i", PPB_URLLoader_CreateDispatcher }, 3082 { "PPB_URLLoader_Create:i:i", PPB_URLLoader_CreateDispatcher },
3067 { "PPB_URLLoader_IsURLLoader:i:i", PPB_URLLoader_IsURLLoaderDispatcher }, 3083 { "PPB_URLLoader_IsURLLoader:i:i", PPB_URLLoader_IsURLLoaderDispatcher },
3068 { "PPB_URLLoader_Open:iii:i", PPB_URLLoader_OpenDispatcher }, 3084 { "PPB_URLLoader_Open:iii:i", PPB_URLLoader_OpenDispatcher },
3069 { "PPB_URLLoader_FollowRedirect:ii:i", PPB_URLLoader_FollowRedirectDispatcher }, 3085 { "PPB_URLLoader_FollowRedirect:ii:i", PPB_URLLoader_FollowRedirectDispatcher },
3070 { "PPB_URLLoader_GetUploadProgress:i:lli", PPB_URLLoader_GetUploadProgressDisp atcher }, 3086 { "PPB_URLLoader_GetUploadProgress:i:lli", PPB_URLLoader_GetUploadProgressDisp atcher },
3071 { "PPB_URLLoader_GetDownloadProgress:i:lli", PPB_URLLoader_GetDownloadProgress Dispatcher }, 3087 { "PPB_URLLoader_GetDownloadProgress:i:lli", PPB_URLLoader_GetDownloadProgress Dispatcher },
(...skipping 26 matching lines...) Expand all
3098 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher }, 3114 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher },
3099 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher }, 3115 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher },
3100 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher }, 3116 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher },
3101 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher }, 3117 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher },
3102 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher }, 3118 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher },
3103 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher }, 3119 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher },
3104 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher }, 3120 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher },
3105 { NULL, NULL } 3121 { NULL, NULL }
3106 }; 3122 };
3107 3123
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698