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

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

Issue 9307115: PPB_NetAddress_Private: add getter methods for sockaddr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync 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 &(outputs[1]->u.ival)
1662 );
1663 }
1664
1622 static void PPB_PDF_GetLocalizedStringDispatcher( 1665 static void PPB_PDF_GetLocalizedStringDispatcher(
1623 NaClSrpcRpc* rpc, 1666 NaClSrpcRpc* rpc,
1624 NaClSrpcArg** inputs, 1667 NaClSrpcArg** inputs,
1625 NaClSrpcArg** outputs, 1668 NaClSrpcArg** outputs,
1626 NaClSrpcClosure* done 1669 NaClSrpcClosure* done
1627 ) { 1670 ) {
1628 PpbPdfRpcServer::PPB_PDF_GetLocalizedString( 1671 PpbPdfRpcServer::PPB_PDF_GetLocalizedString(
1629 rpc, 1672 rpc,
1630 done, 1673 done,
1631 inputs[0]->u.ival, 1674 inputs[0]->u.ival,
(...skipping 1334 matching lines...) Expand 10 before | Expand all | Expand 10 after
2966 { "PPB_Instance_BindGraphics:ii:i", PPB_Instance_BindGraphicsDispatcher }, 3009 { "PPB_Instance_BindGraphics:ii:i", PPB_Instance_BindGraphicsDispatcher },
2967 { "PPB_Instance_IsFullFrame:i:i", PPB_Instance_IsFullFrameDispatcher }, 3010 { "PPB_Instance_IsFullFrame:i:i", PPB_Instance_IsFullFrameDispatcher },
2968 { "PPB_Messaging_PostMessage:iC:", PPB_Messaging_PostMessageDispatcher }, 3011 { "PPB_Messaging_PostMessage:iC:", PPB_Messaging_PostMessageDispatcher },
2969 { "PPB_MouseLock_LockMouse:ii:i", PPB_MouseLock_LockMouseDispatcher }, 3012 { "PPB_MouseLock_LockMouse:ii:i", PPB_MouseLock_LockMouseDispatcher },
2970 { "PPB_MouseLock_UnlockMouse:i:", PPB_MouseLock_UnlockMouseDispatcher }, 3013 { "PPB_MouseLock_UnlockMouse:i:", PPB_MouseLock_UnlockMouseDispatcher },
2971 { "PPB_NetAddress_Private_AreEqual:CC:i", PPB_NetAddress_Private_AreEqualDispa tcher }, 3014 { "PPB_NetAddress_Private_AreEqual:CC:i", PPB_NetAddress_Private_AreEqualDispa tcher },
2972 { "PPB_NetAddress_Private_AreHostsEqual:CC:i", PPB_NetAddress_Private_AreHosts EqualDispatcher }, 3015 { "PPB_NetAddress_Private_AreHostsEqual:CC:i", PPB_NetAddress_Private_AreHosts EqualDispatcher },
2973 { "PPB_NetAddress_Private_Describe:iCi:C", PPB_NetAddress_Private_DescribeDisp atcher }, 3016 { "PPB_NetAddress_Private_Describe:iCi:C", PPB_NetAddress_Private_DescribeDisp atcher },
2974 { "PPB_NetAddress_Private_ReplacePort:Ci:Ci", PPB_NetAddress_Private_ReplacePo rtDispatcher }, 3017 { "PPB_NetAddress_Private_ReplacePort:Ci:Ci", PPB_NetAddress_Private_ReplacePo rtDispatcher },
2975 { "PPB_NetAddress_Private_GetAnyAddress:i:C", PPB_NetAddress_Private_GetAnyAdd ressDispatcher }, 3018 { "PPB_NetAddress_Private_GetAnyAddress:i:C", PPB_NetAddress_Private_GetAnyAdd ressDispatcher },
3019 { "PPB_NetAddress_Private_GetFamily:C:i", PPB_NetAddress_Private_GetFamilyDisp atcher },
3020 { "PPB_NetAddress_Private_GetPort:C:i", PPB_NetAddress_Private_GetPortDispatch er },
3021 { "PPB_NetAddress_Private_GetAddress:C:Ci", PPB_NetAddress_Private_GetAddressD ispatcher },
2976 { "PPB_PDF_GetLocalizedString:ii:C", PPB_PDF_GetLocalizedStringDispatcher }, 3022 { "PPB_PDF_GetLocalizedString:ii:C", PPB_PDF_GetLocalizedStringDispatcher },
2977 { "PPB_PDF_GetResourceImage:ii:i", PPB_PDF_GetResourceImageDispatcher }, 3023 { "PPB_PDF_GetResourceImage:ii:i", PPB_PDF_GetResourceImageDispatcher },
2978 { "PPB_PDF_GetFontFileWithFallback:iCCi:i", PPB_PDF_GetFontFileWithFallbackDis patcher }, 3024 { "PPB_PDF_GetFontFileWithFallback:iCCi:i", PPB_PDF_GetFontFileWithFallbackDis patcher },
2979 { "PPB_PDF_GetFontTableForPrivateFontFile:ii:Ci", PPB_PDF_GetFontTableForPriva teFontFileDispatcher }, 3025 { "PPB_PDF_GetFontTableForPrivateFontFile:ii:Ci", PPB_PDF_GetFontTableForPriva teFontFileDispatcher },
2980 { "PPB_PDF_SearchString:iCCi:Ci", PPB_PDF_SearchStringDispatcher }, 3026 { "PPB_PDF_SearchString:iCCi:Ci", PPB_PDF_SearchStringDispatcher },
2981 { "PPB_PDF_DidStartLoading:i:", PPB_PDF_DidStartLoadingDispatcher }, 3027 { "PPB_PDF_DidStartLoading:i:", PPB_PDF_DidStartLoadingDispatcher },
2982 { "PPB_PDF_DidStopLoading:i:", PPB_PDF_DidStopLoadingDispatcher }, 3028 { "PPB_PDF_DidStopLoading:i:", PPB_PDF_DidStopLoadingDispatcher },
2983 { "PPB_PDF_SetContentRestriction:ii:", PPB_PDF_SetContentRestrictionDispatcher }, 3029 { "PPB_PDF_SetContentRestriction:ii:", PPB_PDF_SetContentRestrictionDispatcher },
2984 { "PPB_PDF_HistogramPDFPageCount:i:", PPB_PDF_HistogramPDFPageCountDispatcher }, 3030 { "PPB_PDF_HistogramPDFPageCount:i:", PPB_PDF_HistogramPDFPageCountDispatcher },
2985 { "PPB_PDF_UserMetricsRecordAction:C:", PPB_PDF_UserMetricsRecordActionDispatc her }, 3031 { "PPB_PDF_UserMetricsRecordAction:C:", PPB_PDF_UserMetricsRecordActionDispatc her },
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
3052 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher }, 3098 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher },
3053 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher }, 3099 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher },
3054 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher }, 3100 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher },
3055 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher }, 3101 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher },
3056 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher }, 3102 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher },
3057 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher }, 3103 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher },
3058 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher }, 3104 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher },
3059 { NULL, NULL } 3105 { NULL, NULL }
3060 }; 3106 };
3061 3107
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698