OLD | NEW |
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 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 int32_t scope_id, | 891 int32_t scope_id, |
892 int32_t port, | 892 int32_t port, |
893 nacl_abi_size_t* addr_bytes, char* addr); | 893 nacl_abi_size_t* addr_bytes, char* addr); |
894 | 894 |
895 private: | 895 private: |
896 PpbNetAddressPrivateRpcServer(); | 896 PpbNetAddressPrivateRpcServer(); |
897 PpbNetAddressPrivateRpcServer(const PpbNetAddressPrivateRpcServer&); | 897 PpbNetAddressPrivateRpcServer(const PpbNetAddressPrivateRpcServer&); |
898 void operator=(const PpbNetAddressPrivateRpcServer); | 898 void operator=(const PpbNetAddressPrivateRpcServer); |
899 }; // class PpbNetAddressPrivateRpcServer | 899 }; // class PpbNetAddressPrivateRpcServer |
900 | 900 |
| 901 class PpbNetworkListPrivateServer { |
| 902 public: |
| 903 static void PPB_NetworkList_Private_IsNetworkList( |
| 904 NaClSrpcRpc* rpc, |
| 905 NaClSrpcClosure* done, |
| 906 PP_Resource resource, |
| 907 int32_t* out_bool); |
| 908 static void PPB_NetworkList_Private_GetCount( |
| 909 NaClSrpcRpc* rpc, |
| 910 NaClSrpcClosure* done, |
| 911 PP_Resource resource, |
| 912 int32_t* count); |
| 913 static void PPB_NetworkList_Private_GetName( |
| 914 NaClSrpcRpc* rpc, |
| 915 NaClSrpcClosure* done, |
| 916 PP_Resource resource, |
| 917 int32_t index, |
| 918 nacl_abi_size_t* name_bytes, char* name); |
| 919 static void PPB_NetworkList_Private_GetType( |
| 920 NaClSrpcRpc* rpc, |
| 921 NaClSrpcClosure* done, |
| 922 PP_Resource resource, |
| 923 int32_t index, |
| 924 int32_t* type); |
| 925 static void PPB_NetworkList_Private_GetState( |
| 926 NaClSrpcRpc* rpc, |
| 927 NaClSrpcClosure* done, |
| 928 PP_Resource resource, |
| 929 int32_t index, |
| 930 int32_t* state); |
| 931 static void PPB_NetworkList_Private_GetIpAddresses( |
| 932 NaClSrpcRpc* rpc, |
| 933 NaClSrpcClosure* done, |
| 934 PP_Resource resource, |
| 935 int32_t index, |
| 936 nacl_abi_size_t* addr_bytes, char* addr, |
| 937 int32_t* addresses_count); |
| 938 static void PPB_NetworkList_Private_GetDisplayName( |
| 939 NaClSrpcRpc* rpc, |
| 940 NaClSrpcClosure* done, |
| 941 PP_Resource resource, |
| 942 int32_t index, |
| 943 nacl_abi_size_t* display_name_bytes, char* display_name); |
| 944 static void PPB_NetworkList_Private_GetMTU( |
| 945 NaClSrpcRpc* rpc, |
| 946 NaClSrpcClosure* done, |
| 947 PP_Resource resource, |
| 948 int32_t index, |
| 949 int32_t* mtu); |
| 950 |
| 951 private: |
| 952 PpbNetworkListPrivateServer(); |
| 953 PpbNetworkListPrivateServer(const PpbNetworkListPrivateServer&); |
| 954 void operator=(const PpbNetworkListPrivateServer); |
| 955 }; // class PpbNetworkListPrivateServer |
| 956 |
| 957 class PpbNetworkMonitorPrivateServer { |
| 958 public: |
| 959 static void PPB_NetworkMonitor_Private_Create( |
| 960 NaClSrpcRpc* rpc, |
| 961 NaClSrpcClosure* done, |
| 962 PP_Instance instance, |
| 963 PP_Resource* out_resource); |
| 964 static void PPB_NetworkMonitor_Private_IsNetworkMonitor( |
| 965 NaClSrpcRpc* rpc, |
| 966 NaClSrpcClosure* done, |
| 967 PP_Resource resource, |
| 968 int32_t* out_bool); |
| 969 |
| 970 private: |
| 971 PpbNetworkMonitorPrivateServer(); |
| 972 PpbNetworkMonitorPrivateServer(const PpbNetworkMonitorPrivateServer&); |
| 973 void operator=(const PpbNetworkMonitorPrivateServer); |
| 974 }; // class PpbNetworkMonitorPrivateServer |
| 975 |
901 class PpbPdfRpcServer { | 976 class PpbPdfRpcServer { |
902 public: | 977 public: |
903 static void PPB_PDF_GetLocalizedString( | 978 static void PPB_PDF_GetLocalizedString( |
904 NaClSrpcRpc* rpc, | 979 NaClSrpcRpc* rpc, |
905 NaClSrpcClosure* done, | 980 NaClSrpcClosure* done, |
906 PP_Instance instance, | 981 PP_Instance instance, |
907 int32_t string_id, | 982 int32_t string_id, |
908 nacl_abi_size_t* string_bytes, char* string); | 983 nacl_abi_size_t* string_bytes, char* string); |
909 static void PPB_PDF_GetResourceImage( | 984 static void PPB_PDF_GetResourceImage( |
910 NaClSrpcRpc* rpc, | 985 NaClSrpcRpc* rpc, |
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1523 }; // class PpbZoomRpcServer | 1598 }; // class PpbZoomRpcServer |
1524 | 1599 |
1525 class PpbRpcs { | 1600 class PpbRpcs { |
1526 public: | 1601 public: |
1527 static NaClSrpcHandlerDesc srpc_methods[]; | 1602 static NaClSrpcHandlerDesc srpc_methods[]; |
1528 }; // class PpbRpcs | 1603 }; // class PpbRpcs |
1529 | 1604 |
1530 | 1605 |
1531 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ | 1606 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ |
1532 | 1607 |
OLD | NEW |