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

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

Issue 10823187: NaCl proxy for PPB_NetworkMonitor_Private (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | 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 1722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1733 PpbNetAddressPrivateRpcServer::PPB_NetAddress_Private_CreateFromIPv6Address( 1733 PpbNetAddressPrivateRpcServer::PPB_NetAddress_Private_CreateFromIPv6Address(
1734 rpc, 1734 rpc,
1735 done, 1735 done,
1736 inputs[0]->u.count, inputs[0]->arrays.carr, 1736 inputs[0]->u.count, inputs[0]->arrays.carr,
1737 inputs[1]->u.ival, 1737 inputs[1]->u.ival,
1738 inputs[2]->u.ival, 1738 inputs[2]->u.ival,
1739 &(outputs[0]->u.count), outputs[0]->arrays.carr 1739 &(outputs[0]->u.count), outputs[0]->arrays.carr
1740 ); 1740 );
1741 } 1741 }
1742 1742
1743 static void PPB_NetworkList_Private_IsNetworkListDispatcher(
1744 NaClSrpcRpc* rpc,
1745 NaClSrpcArg** inputs,
1746 NaClSrpcArg** outputs,
1747 NaClSrpcClosure* done
1748 ) {
1749 PpbNetworkListPrivateServer::PPB_NetworkList_Private_IsNetworkList(
1750 rpc,
1751 done,
1752 inputs[0]->u.ival,
1753 &(outputs[0]->u.ival)
1754 );
1755 }
1756
1757 static void PPB_NetworkList_Private_GetCountDispatcher(
1758 NaClSrpcRpc* rpc,
1759 NaClSrpcArg** inputs,
1760 NaClSrpcArg** outputs,
1761 NaClSrpcClosure* done
1762 ) {
1763 PpbNetworkListPrivateServer::PPB_NetworkList_Private_GetCount(
1764 rpc,
1765 done,
1766 inputs[0]->u.ival,
1767 &(outputs[0]->u.ival)
1768 );
1769 }
1770
1771 static void PPB_NetworkList_Private_GetNameDispatcher(
1772 NaClSrpcRpc* rpc,
1773 NaClSrpcArg** inputs,
1774 NaClSrpcArg** outputs,
1775 NaClSrpcClosure* done
1776 ) {
1777 PpbNetworkListPrivateServer::PPB_NetworkList_Private_GetName(
1778 rpc,
1779 done,
1780 inputs[0]->u.ival,
1781 inputs[1]->u.ival,
1782 &(outputs[0]->u.count), outputs[0]->arrays.carr
1783 );
1784 }
1785
1786 static void PPB_NetworkList_Private_GetTypeDispatcher(
1787 NaClSrpcRpc* rpc,
1788 NaClSrpcArg** inputs,
1789 NaClSrpcArg** outputs,
1790 NaClSrpcClosure* done
1791 ) {
1792 PpbNetworkListPrivateServer::PPB_NetworkList_Private_GetType(
1793 rpc,
1794 done,
1795 inputs[0]->u.ival,
1796 inputs[1]->u.ival,
1797 &(outputs[0]->u.ival)
1798 );
1799 }
1800
1801 static void PPB_NetworkList_Private_GetStateDispatcher(
1802 NaClSrpcRpc* rpc,
1803 NaClSrpcArg** inputs,
1804 NaClSrpcArg** outputs,
1805 NaClSrpcClosure* done
1806 ) {
1807 PpbNetworkListPrivateServer::PPB_NetworkList_Private_GetState(
1808 rpc,
1809 done,
1810 inputs[0]->u.ival,
1811 inputs[1]->u.ival,
1812 &(outputs[0]->u.ival)
1813 );
1814 }
1815
1816 static void PPB_NetworkList_Private_GetIpAddressesDispatcher(
1817 NaClSrpcRpc* rpc,
1818 NaClSrpcArg** inputs,
1819 NaClSrpcArg** outputs,
1820 NaClSrpcClosure* done
1821 ) {
1822 PpbNetworkListPrivateServer::PPB_NetworkList_Private_GetIpAddresses(
1823 rpc,
1824 done,
1825 inputs[0]->u.ival,
1826 inputs[1]->u.ival,
1827 &(outputs[0]->u.count), outputs[0]->arrays.carr,
1828 &(outputs[1]->u.ival)
1829 );
1830 }
1831
1832 static void PPB_NetworkList_Private_GetDisplayNameDispatcher(
1833 NaClSrpcRpc* rpc,
1834 NaClSrpcArg** inputs,
1835 NaClSrpcArg** outputs,
1836 NaClSrpcClosure* done
1837 ) {
1838 PpbNetworkListPrivateServer::PPB_NetworkList_Private_GetDisplayName(
1839 rpc,
1840 done,
1841 inputs[0]->u.ival,
1842 inputs[1]->u.ival,
1843 &(outputs[0]->u.count), outputs[0]->arrays.carr
1844 );
1845 }
1846
1847 static void PPB_NetworkList_Private_GetMTUDispatcher(
1848 NaClSrpcRpc* rpc,
1849 NaClSrpcArg** inputs,
1850 NaClSrpcArg** outputs,
1851 NaClSrpcClosure* done
1852 ) {
1853 PpbNetworkListPrivateServer::PPB_NetworkList_Private_GetMTU(
1854 rpc,
1855 done,
1856 inputs[0]->u.ival,
1857 inputs[1]->u.ival,
1858 &(outputs[0]->u.ival)
1859 );
1860 }
1861
1862 static void PPB_NetworkMonitor_Private_CreateDispatcher(
1863 NaClSrpcRpc* rpc,
1864 NaClSrpcArg** inputs,
1865 NaClSrpcArg** outputs,
1866 NaClSrpcClosure* done
1867 ) {
1868 PpbNetworkMonitorPrivateServer::PPB_NetworkMonitor_Private_Create(
1869 rpc,
1870 done,
1871 inputs[0]->u.ival,
1872 &(outputs[0]->u.ival)
1873 );
1874 }
1875
1876 static void PPB_NetworkMonitor_Private_IsNetworkMonitorDispatcher(
1877 NaClSrpcRpc* rpc,
1878 NaClSrpcArg** inputs,
1879 NaClSrpcArg** outputs,
1880 NaClSrpcClosure* done
1881 ) {
1882 PpbNetworkMonitorPrivateServer::PPB_NetworkMonitor_Private_IsNetworkMonitor(
1883 rpc,
1884 done,
1885 inputs[0]->u.ival,
1886 &(outputs[0]->u.ival)
1887 );
1888 }
1889
1743 static void PPB_PDF_GetLocalizedStringDispatcher( 1890 static void PPB_PDF_GetLocalizedStringDispatcher(
1744 NaClSrpcRpc* rpc, 1891 NaClSrpcRpc* rpc,
1745 NaClSrpcArg** inputs, 1892 NaClSrpcArg** inputs,
1746 NaClSrpcArg** outputs, 1893 NaClSrpcArg** outputs,
1747 NaClSrpcClosure* done 1894 NaClSrpcClosure* done
1748 ) { 1895 ) {
1749 PpbPdfRpcServer::PPB_PDF_GetLocalizedString( 1896 PpbPdfRpcServer::PPB_PDF_GetLocalizedString(
1750 rpc, 1897 rpc,
1751 done, 1898 done,
1752 inputs[0]->u.ival, 1899 inputs[0]->u.ival,
(...skipping 1433 matching lines...) Expand 10 before | Expand all | Expand 10 after
3186 { "PPB_NetAddress_Private_AreHostsEqual:CC:i", PPB_NetAddress_Private_AreHosts EqualDispatcher }, 3333 { "PPB_NetAddress_Private_AreHostsEqual:CC:i", PPB_NetAddress_Private_AreHosts EqualDispatcher },
3187 { "PPB_NetAddress_Private_Describe:iCi:C", PPB_NetAddress_Private_DescribeDisp atcher }, 3334 { "PPB_NetAddress_Private_Describe:iCi:C", PPB_NetAddress_Private_DescribeDisp atcher },
3188 { "PPB_NetAddress_Private_ReplacePort:Ci:Ci", PPB_NetAddress_Private_ReplacePo rtDispatcher }, 3335 { "PPB_NetAddress_Private_ReplacePort:Ci:Ci", PPB_NetAddress_Private_ReplacePo rtDispatcher },
3189 { "PPB_NetAddress_Private_GetAnyAddress:i:C", PPB_NetAddress_Private_GetAnyAdd ressDispatcher }, 3336 { "PPB_NetAddress_Private_GetAnyAddress:i:C", PPB_NetAddress_Private_GetAnyAdd ressDispatcher },
3190 { "PPB_NetAddress_Private_GetFamily:C:i", PPB_NetAddress_Private_GetFamilyDisp atcher }, 3337 { "PPB_NetAddress_Private_GetFamily:C:i", PPB_NetAddress_Private_GetFamilyDisp atcher },
3191 { "PPB_NetAddress_Private_GetPort:C:i", PPB_NetAddress_Private_GetPortDispatch er }, 3338 { "PPB_NetAddress_Private_GetPort:C:i", PPB_NetAddress_Private_GetPortDispatch er },
3192 { "PPB_NetAddress_Private_GetAddress:C:Ci", PPB_NetAddress_Private_GetAddressD ispatcher }, 3339 { "PPB_NetAddress_Private_GetAddress:C:Ci", PPB_NetAddress_Private_GetAddressD ispatcher },
3193 { "PPB_NetAddress_Private_GetScopeID:C:i", PPB_NetAddress_Private_GetScopeIDDi spatcher }, 3340 { "PPB_NetAddress_Private_GetScopeID:C:i", PPB_NetAddress_Private_GetScopeIDDi spatcher },
3194 { "PPB_NetAddress_Private_CreateFromIPv4Address:Ci:C", PPB_NetAddress_Private_ CreateFromIPv4AddressDispatcher }, 3341 { "PPB_NetAddress_Private_CreateFromIPv4Address:Ci:C", PPB_NetAddress_Private_ CreateFromIPv4AddressDispatcher },
3195 { "PPB_NetAddress_Private_CreateFromIPv6Address:Cii:C", PPB_NetAddress_Private _CreateFromIPv6AddressDispatcher }, 3342 { "PPB_NetAddress_Private_CreateFromIPv6Address:Cii:C", PPB_NetAddress_Private _CreateFromIPv6AddressDispatcher },
3343 { "PPB_NetworkList_Private_IsNetworkList:i:i", PPB_NetworkList_Private_IsNetwo rkListDispatcher },
3344 { "PPB_NetworkList_Private_GetCount:i:i", PPB_NetworkList_Private_GetCountDisp atcher },
3345 { "PPB_NetworkList_Private_GetName:ii:C", PPB_NetworkList_Private_GetNameDispa tcher },
3346 { "PPB_NetworkList_Private_GetType:ii:i", PPB_NetworkList_Private_GetTypeDispa tcher },
3347 { "PPB_NetworkList_Private_GetState:ii:i", PPB_NetworkList_Private_GetStateDis patcher },
3348 { "PPB_NetworkList_Private_GetIpAddresses:ii:Ci", PPB_NetworkList_Private_GetI pAddressesDispatcher },
3349 { "PPB_NetworkList_Private_GetDisplayName:ii:C", PPB_NetworkList_Private_GetDi splayNameDispatcher },
3350 { "PPB_NetworkList_Private_GetMTU:ii:i", PPB_NetworkList_Private_GetMTUDispatc her },
3351 { "PPB_NetworkMonitor_Private_Create:i:i", PPB_NetworkMonitor_Private_CreateDi spatcher },
3352 { "PPB_NetworkMonitor_Private_IsNetworkMonitor:i:i", PPB_NetworkMonitor_Privat e_IsNetworkMonitorDispatcher },
3196 { "PPB_PDF_GetLocalizedString:ii:C", PPB_PDF_GetLocalizedStringDispatcher }, 3353 { "PPB_PDF_GetLocalizedString:ii:C", PPB_PDF_GetLocalizedStringDispatcher },
3197 { "PPB_PDF_GetResourceImage:ii:i", PPB_PDF_GetResourceImageDispatcher }, 3354 { "PPB_PDF_GetResourceImage:ii:i", PPB_PDF_GetResourceImageDispatcher },
3198 { "PPB_PDF_GetFontFileWithFallback:iCCi:i", PPB_PDF_GetFontFileWithFallbackDis patcher }, 3355 { "PPB_PDF_GetFontFileWithFallback:iCCi:i", PPB_PDF_GetFontFileWithFallbackDis patcher },
3199 { "PPB_PDF_GetFontTableForPrivateFontFile:ii:Ci", PPB_PDF_GetFontTableForPriva teFontFileDispatcher }, 3356 { "PPB_PDF_GetFontTableForPrivateFontFile:ii:Ci", PPB_PDF_GetFontTableForPriva teFontFileDispatcher },
3200 { "PPB_PDF_SearchString:iCCi:Ci", PPB_PDF_SearchStringDispatcher }, 3357 { "PPB_PDF_SearchString:iCCi:Ci", PPB_PDF_SearchStringDispatcher },
3201 { "PPB_PDF_DidStartLoading:i:", PPB_PDF_DidStartLoadingDispatcher }, 3358 { "PPB_PDF_DidStartLoading:i:", PPB_PDF_DidStartLoadingDispatcher },
3202 { "PPB_PDF_DidStopLoading:i:", PPB_PDF_DidStopLoadingDispatcher }, 3359 { "PPB_PDF_DidStopLoading:i:", PPB_PDF_DidStopLoadingDispatcher },
3203 { "PPB_PDF_SetContentRestriction:ii:", PPB_PDF_SetContentRestrictionDispatcher }, 3360 { "PPB_PDF_SetContentRestriction:ii:", PPB_PDF_SetContentRestrictionDispatcher },
3204 { "PPB_PDF_HistogramPDFPageCount:i:", PPB_PDF_HistogramPDFPageCountDispatcher }, 3361 { "PPB_PDF_HistogramPDFPageCount:i:", PPB_PDF_HistogramPDFPageCountDispatcher },
3205 { "PPB_PDF_UserMetricsRecordAction:C:", PPB_PDF_UserMetricsRecordActionDispatc her }, 3362 { "PPB_PDF_UserMetricsRecordAction:C:", PPB_PDF_UserMetricsRecordActionDispatc her },
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
3278 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher }, 3435 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher },
3279 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher }, 3436 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher },
3280 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher }, 3437 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher },
3281 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher }, 3438 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher },
3282 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher }, 3439 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher },
3283 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher }, 3440 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher },
3284 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher }, 3441 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher },
3285 { NULL, NULL } 3442 { NULL, NULL }
3286 }; 3443 };
3287 3444
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698