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

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

Issue 9235035: Add getter methods for sockaddr. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Fixing errors found by review system. 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 1601 matching lines...) Expand 10 before | Expand all | Expand 10 after
1612 NaClSrpcClosure* done 1612 NaClSrpcClosure* done
1613 ) { 1613 ) {
1614 PpbNetAddressPrivateRpcServer::PPB_NetAddress_Private_GetAnyAddress( 1614 PpbNetAddressPrivateRpcServer::PPB_NetAddress_Private_GetAnyAddress(
1615 rpc, 1615 rpc,
1616 done, 1616 done,
1617 inputs[0]->u.ival, 1617 inputs[0]->u.ival,
1618 &(outputs[0]->u.count), outputs[0]->arrays.carr 1618 &(outputs[0]->u.count), outputs[0]->arrays.carr
1619 ); 1619 );
1620 } 1620 }
1621 1621
1622 static void PPB_NetAddress_Private_GetFamilyDispatcher(
1623 NaClSrpcRpc* rpc,
1624 NaClSrpcArg** inputs,
1625 NaClSrpcArg** outputs,
1626 NaClSrpcClosure* done
1627 ) {
1628 PpbNetAddressPrivateRpcServer::PPB_NetAddress_Private_GetFamily(
1629 rpc,
1630 done,
1631 inputs[0]->u.count, inputs[0]->arrays.carr,
1632 &(outputs[0]->u.ival)
1633 );
1634 }
1635
1636 static void PPB_NetAddress_Private_GetPortDispatcher(
1637 NaClSrpcRpc* rpc,
1638 NaClSrpcArg** inputs,
1639 NaClSrpcArg** outputs,
1640 NaClSrpcClosure* done
1641 ) {
1642 PpbNetAddressPrivateRpcServer::PPB_NetAddress_Private_GetPort(
1643 rpc,
1644 done,
1645 inputs[0]->u.count, inputs[0]->arrays.carr,
1646 &(outputs[0]->u.ival)
1647 );
1648 }
1649
1650 static void PPB_NetAddress_Private_GetAddressDispatcher(
1651 NaClSrpcRpc* rpc,
1652 NaClSrpcArg** inputs,
1653 NaClSrpcArg** outputs,
1654 NaClSrpcClosure* done
1655 ) {
1656 PpbNetAddressPrivateRpcServer::PPB_NetAddress_Private_GetAddress(
1657 rpc,
1658 done,
1659 inputs[0]->u.count, inputs[0]->arrays.carr,
1660 &(outputs[0]->u.count), outputs[0]->arrays.carr
1661 );
1662 }
1663
1622 static void PPB_PDF_GetLocalizedStringDispatcher( 1664 static void PPB_PDF_GetLocalizedStringDispatcher(
1623 NaClSrpcRpc* rpc, 1665 NaClSrpcRpc* rpc,
1624 NaClSrpcArg** inputs, 1666 NaClSrpcArg** inputs,
1625 NaClSrpcArg** outputs, 1667 NaClSrpcArg** outputs,
1626 NaClSrpcClosure* done 1668 NaClSrpcClosure* done
1627 ) { 1669 ) {
1628 PpbPdfRpcServer::PPB_PDF_GetLocalizedString( 1670 PpbPdfRpcServer::PPB_PDF_GetLocalizedString(
1629 rpc, 1671 rpc,
1630 done, 1672 done,
1631 inputs[0]->u.ival, 1673 inputs[0]->u.ival,
(...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after
2995 { "PPB_Instance_BindGraphics:ii:i", PPB_Instance_BindGraphicsDispatcher }, 3037 { "PPB_Instance_BindGraphics:ii:i", PPB_Instance_BindGraphicsDispatcher },
2996 { "PPB_Instance_IsFullFrame:i:i", PPB_Instance_IsFullFrameDispatcher }, 3038 { "PPB_Instance_IsFullFrame:i:i", PPB_Instance_IsFullFrameDispatcher },
2997 { "PPB_Messaging_PostMessage:iC:", PPB_Messaging_PostMessageDispatcher }, 3039 { "PPB_Messaging_PostMessage:iC:", PPB_Messaging_PostMessageDispatcher },
2998 { "PPB_MouseLock_LockMouse:ii:i", PPB_MouseLock_LockMouseDispatcher }, 3040 { "PPB_MouseLock_LockMouse:ii:i", PPB_MouseLock_LockMouseDispatcher },
2999 { "PPB_MouseLock_UnlockMouse:i:", PPB_MouseLock_UnlockMouseDispatcher }, 3041 { "PPB_MouseLock_UnlockMouse:i:", PPB_MouseLock_UnlockMouseDispatcher },
3000 { "PPB_NetAddress_Private_AreEqual:CC:i", PPB_NetAddress_Private_AreEqualDispa tcher }, 3042 { "PPB_NetAddress_Private_AreEqual:CC:i", PPB_NetAddress_Private_AreEqualDispa tcher },
3001 { "PPB_NetAddress_Private_AreHostsEqual:CC:i", PPB_NetAddress_Private_AreHosts EqualDispatcher }, 3043 { "PPB_NetAddress_Private_AreHostsEqual:CC:i", PPB_NetAddress_Private_AreHosts EqualDispatcher },
3002 { "PPB_NetAddress_Private_Describe:iCi:C", PPB_NetAddress_Private_DescribeDisp atcher }, 3044 { "PPB_NetAddress_Private_Describe:iCi:C", PPB_NetAddress_Private_DescribeDisp atcher },
3003 { "PPB_NetAddress_Private_ReplacePort:Ci:Ci", PPB_NetAddress_Private_ReplacePo rtDispatcher }, 3045 { "PPB_NetAddress_Private_ReplacePort:Ci:Ci", PPB_NetAddress_Private_ReplacePo rtDispatcher },
3004 { "PPB_NetAddress_Private_GetAnyAddress:i:C", PPB_NetAddress_Private_GetAnyAdd ressDispatcher }, 3046 { "PPB_NetAddress_Private_GetAnyAddress:i:C", PPB_NetAddress_Private_GetAnyAdd ressDispatcher },
3047 { "PPB_NetAddress_Private_GetFamily:C:i", PPB_NetAddress_Private_GetFamilyDisp atcher },
3048 { "PPB_NetAddress_Private_GetPort:C:i", PPB_NetAddress_Private_GetPortDispatch er },
3049 { "PPB_NetAddress_Private_GetAddress:C:C", PPB_NetAddress_Private_GetAddressDi spatcher },
3005 { "PPB_PDF_GetLocalizedString:ii:C", PPB_PDF_GetLocalizedStringDispatcher }, 3050 { "PPB_PDF_GetLocalizedString:ii:C", PPB_PDF_GetLocalizedStringDispatcher },
3006 { "PPB_PDF_GetResourceImage:ii:i", PPB_PDF_GetResourceImageDispatcher }, 3051 { "PPB_PDF_GetResourceImage:ii:i", PPB_PDF_GetResourceImageDispatcher },
3007 { "PPB_PDF_GetFontFileWithFallback:iCCi:i", PPB_PDF_GetFontFileWithFallbackDis patcher }, 3052 { "PPB_PDF_GetFontFileWithFallback:iCCi:i", PPB_PDF_GetFontFileWithFallbackDis patcher },
3008 { "PPB_PDF_GetFontTableForPrivateFontFile:ii:Ci", PPB_PDF_GetFontTableForPriva teFontFileDispatcher }, 3053 { "PPB_PDF_GetFontTableForPrivateFontFile:ii:Ci", PPB_PDF_GetFontTableForPriva teFontFileDispatcher },
3009 { "PPB_PDF_SearchString:iCCi:Ci", PPB_PDF_SearchStringDispatcher }, 3054 { "PPB_PDF_SearchString:iCCi:Ci", PPB_PDF_SearchStringDispatcher },
3010 { "PPB_PDF_DidStartLoading:i:", PPB_PDF_DidStartLoadingDispatcher }, 3055 { "PPB_PDF_DidStartLoading:i:", PPB_PDF_DidStartLoadingDispatcher },
3011 { "PPB_PDF_DidStopLoading:i:", PPB_PDF_DidStopLoadingDispatcher }, 3056 { "PPB_PDF_DidStopLoading:i:", PPB_PDF_DidStopLoadingDispatcher },
3012 { "PPB_PDF_SetContentRestriction:ii:", PPB_PDF_SetContentRestrictionDispatcher }, 3057 { "PPB_PDF_SetContentRestriction:ii:", PPB_PDF_SetContentRestrictionDispatcher },
3013 { "PPB_PDF_HistogramPDFPageCount:i:", PPB_PDF_HistogramPDFPageCountDispatcher }, 3058 { "PPB_PDF_HistogramPDFPageCount:i:", PPB_PDF_HistogramPDFPageCountDispatcher },
3014 { "PPB_PDF_UserMetricsRecordAction:C:", PPB_PDF_UserMetricsRecordActionDispatc her }, 3059 { "PPB_PDF_UserMetricsRecordAction:C:", PPB_PDF_UserMetricsRecordActionDispatc her },
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
3083 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher }, 3128 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher },
3084 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher }, 3129 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher },
3085 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher }, 3130 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher },
3086 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher }, 3131 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher },
3087 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher }, 3132 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher },
3088 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher }, 3133 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher },
3089 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher }, 3134 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher },
3090 { NULL, NULL } 3135 { NULL, NULL }
3091 }; 3136 };
3092 3137
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698