| OLD | NEW |
| 1 // Copyright (c) 2011 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 |
| 11 #ifndef GEN_PPAPI_PROXY_PPP_RPC_H_ | 11 #ifndef GEN_PPAPI_PROXY_PPP_RPC_H_ |
| (...skipping 23 matching lines...) Expand all Loading... |
| 35 }; // class CompletionCallbackRpcServer | 35 }; // class CompletionCallbackRpcServer |
| 36 | 36 |
| 37 class PppRpcServer { | 37 class PppRpcServer { |
| 38 public: | 38 public: |
| 39 static void PPP_InitializeModule( | 39 static void PPP_InitializeModule( |
| 40 NaClSrpcRpc* rpc, | 40 NaClSrpcRpc* rpc, |
| 41 NaClSrpcClosure* done, | 41 NaClSrpcClosure* done, |
| 42 int32_t pid, | 42 int32_t pid, |
| 43 PP_Module module, | 43 PP_Module module, |
| 44 NaClSrpcImcDescType upcall_channel_desc, | 44 NaClSrpcImcDescType upcall_channel_desc, |
| 45 char* service_description, | 45 const char* service_description, |
| 46 int32_t* nacl_pid, | 46 int32_t* nacl_pid, |
| 47 int32_t* success); | 47 int32_t* success); |
| 48 static void PPP_ShutdownModule( | 48 static void PPP_ShutdownModule( |
| 49 NaClSrpcRpc* rpc, | 49 NaClSrpcRpc* rpc, |
| 50 NaClSrpcClosure* done); | 50 NaClSrpcClosure* done); |
| 51 static void PPP_GetInterface( | 51 static void PPP_GetInterface( |
| 52 NaClSrpcRpc* rpc, | 52 NaClSrpcRpc* rpc, |
| 53 NaClSrpcClosure* done, | 53 NaClSrpcClosure* done, |
| 54 char* interface_name, | 54 const char* interface_name, |
| 55 int32_t* exports_interface_name); | 55 int32_t* exports_interface_name); |
| 56 | 56 |
| 57 private: | 57 private: |
| 58 PppRpcServer(); | 58 PppRpcServer(); |
| 59 PppRpcServer(const PppRpcServer&); | 59 PppRpcServer(const PppRpcServer&); |
| 60 void operator=(const PppRpcServer); | 60 void operator=(const PppRpcServer); |
| 61 }; // class PppRpcServer | 61 }; // class PppRpcServer |
| 62 | 62 |
| 63 class PppAudioRpcServer { | 63 class PppAudioRpcServer { |
| 64 public: | 64 public: |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 }; // class PppZoomRpcServer | 286 }; // class PppZoomRpcServer |
| 287 | 287 |
| 288 class PppRpcs { | 288 class PppRpcs { |
| 289 public: | 289 public: |
| 290 static NaClSrpcHandlerDesc srpc_methods[]; | 290 static NaClSrpcHandlerDesc srpc_methods[]; |
| 291 }; // class PppRpcs | 291 }; // class PppRpcs |
| 292 | 292 |
| 293 | 293 |
| 294 #endif // GEN_PPAPI_PROXY_PPP_RPC_H_ | 294 #endif // GEN_PPAPI_PROXY_PPP_RPC_H_ |
| 295 | 295 |
| OLD | NEW |