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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 int32_t id, | 664 int32_t id, |
665 NaClSrpcImcDescType* shm_desc, | 665 NaClSrpcImcDescType* shm_desc, |
666 int32_t* shm_size); | 666 int32_t* shm_size); |
667 | 667 |
668 private: | 668 private: |
669 PpbGraphics3DRpcServer(); | 669 PpbGraphics3DRpcServer(); |
670 PpbGraphics3DRpcServer(const PpbGraphics3DRpcServer&); | 670 PpbGraphics3DRpcServer(const PpbGraphics3DRpcServer&); |
671 void operator=(const PpbGraphics3DRpcServer); | 671 void operator=(const PpbGraphics3DRpcServer); |
672 }; // class PpbGraphics3DRpcServer | 672 }; // class PpbGraphics3DRpcServer |
673 | 673 |
| 674 class PpbHostResolverPrivateRpcServer { |
| 675 public: |
| 676 static void PPB_HostResolver_Private_Create( |
| 677 NaClSrpcRpc* rpc, |
| 678 NaClSrpcClosure* done, |
| 679 PP_Instance instance, |
| 680 PP_Resource* resource); |
| 681 static void PPB_HostResolver_Private_IsHostResolver( |
| 682 NaClSrpcRpc* rpc, |
| 683 NaClSrpcClosure* done, |
| 684 PP_Resource resource, |
| 685 int32_t* is_host_resolver); |
| 686 static void PPB_HostResolver_Private_Resolve( |
| 687 NaClSrpcRpc* rpc, |
| 688 NaClSrpcClosure* done, |
| 689 PP_Resource host_resolver, |
| 690 const char* host, |
| 691 int32_t port, |
| 692 nacl_abi_size_t hint_bytes, char* hint, |
| 693 int32_t callback_id, |
| 694 int32_t* pp_error); |
| 695 static void PPB_HostResolver_Private_GetCanonicalName( |
| 696 NaClSrpcRpc* rpc, |
| 697 NaClSrpcClosure* done, |
| 698 PP_Resource host_resolver, |
| 699 nacl_abi_size_t* canonical_name_bytes, char* canonical_name); |
| 700 static void PPB_HostResolver_Private_GetSize( |
| 701 NaClSrpcRpc* rpc, |
| 702 NaClSrpcClosure* done, |
| 703 PP_Resource host_resolver, |
| 704 int32_t* size); |
| 705 static void PPB_HostResolver_Private_GetNetAddress( |
| 706 NaClSrpcRpc* rpc, |
| 707 NaClSrpcClosure* done, |
| 708 PP_Resource host_resolver, |
| 709 int32_t index, |
| 710 nacl_abi_size_t* addr_bytes, char* addr, |
| 711 int32_t* success); |
| 712 |
| 713 private: |
| 714 PpbHostResolverPrivateRpcServer(); |
| 715 PpbHostResolverPrivateRpcServer(const PpbHostResolverPrivateRpcServer&); |
| 716 void operator=(const PpbHostResolverPrivateRpcServer); |
| 717 }; // class PpbHostResolverPrivateRpcServer |
| 718 |
674 class PpbImageDataRpcServer { | 719 class PpbImageDataRpcServer { |
675 public: | 720 public: |
676 static void PPB_ImageData_GetNativeImageDataFormat( | 721 static void PPB_ImageData_GetNativeImageDataFormat( |
677 NaClSrpcRpc* rpc, | 722 NaClSrpcRpc* rpc, |
678 NaClSrpcClosure* done, | 723 NaClSrpcClosure* done, |
679 int32_t* format); | 724 int32_t* format); |
680 static void PPB_ImageData_IsImageDataFormatSupported( | 725 static void PPB_ImageData_IsImageDataFormatSupported( |
681 NaClSrpcRpc* rpc, | 726 NaClSrpcRpc* rpc, |
682 NaClSrpcClosure* done, | 727 NaClSrpcClosure* done, |
683 int32_t format, | 728 int32_t format, |
(...skipping 816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1500 }; // class PpbZoomRpcServer | 1545 }; // class PpbZoomRpcServer |
1501 | 1546 |
1502 class PpbRpcs { | 1547 class PpbRpcs { |
1503 public: | 1548 public: |
1504 static NaClSrpcHandlerDesc srpc_methods[]; | 1549 static NaClSrpcHandlerDesc srpc_methods[]; |
1505 }; // class PpbRpcs | 1550 }; // class PpbRpcs |
1506 | 1551 |
1507 | 1552 |
1508 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ | 1553 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ |
1509 | 1554 |
OLD | NEW |