| OLD | NEW |
| 1 // Copyright (c) 2010 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2010 The Native Client 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 ObjectStubRpcServer(const ObjectStubRpcServer&); | 95 ObjectStubRpcServer(const ObjectStubRpcServer&); |
| 96 void operator=(const ObjectStubRpcServer); | 96 void operator=(const ObjectStubRpcServer); |
| 97 }; // class ObjectStubRpcServer | 97 }; // class ObjectStubRpcServer |
| 98 | 98 |
| 99 class CompletionCallbackRpcServer { | 99 class CompletionCallbackRpcServer { |
| 100 public: | 100 public: |
| 101 static void RunCompletionCallback( | 101 static void RunCompletionCallback( |
| 102 NaClSrpcRpc* rpc, | 102 NaClSrpcRpc* rpc, |
| 103 NaClSrpcClosure* done, | 103 NaClSrpcClosure* done, |
| 104 int32_t callback_id, | 104 int32_t callback_id, |
| 105 int32_t result); | 105 int32_t result, |
| 106 nacl_abi_size_t read_buffer_bytes, char* read_buffer); |
| 106 | 107 |
| 107 private: | 108 private: |
| 108 CompletionCallbackRpcServer(); | 109 CompletionCallbackRpcServer(); |
| 109 CompletionCallbackRpcServer(const CompletionCallbackRpcServer&); | 110 CompletionCallbackRpcServer(const CompletionCallbackRpcServer&); |
| 110 void operator=(const CompletionCallbackRpcServer); | 111 void operator=(const CompletionCallbackRpcServer); |
| 111 }; // class CompletionCallbackRpcServer | 112 }; // class CompletionCallbackRpcServer |
| 112 | 113 |
| 113 class PppRpcServer { | 114 class PppRpcServer { |
| 114 public: | 115 public: |
| 115 static void PPP_InitializeModule( | 116 static void PPP_InitializeModule( |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 void operator=(const PppInstanceRpcServer); | 202 void operator=(const PppInstanceRpcServer); |
| 202 }; // class PppInstanceRpcServer | 203 }; // class PppInstanceRpcServer |
| 203 | 204 |
| 204 class PppRpcs { | 205 class PppRpcs { |
| 205 public: | 206 public: |
| 206 static NaClSrpcHandlerDesc srpc_methods[]; | 207 static NaClSrpcHandlerDesc srpc_methods[]; |
| 207 }; // class PppRpcs | 208 }; // class PppRpcs |
| 208 | 209 |
| 209 #endif // GEN_PPAPI_PROXY_PPP_RPC_H_ | 210 #endif // GEN_PPAPI_PROXY_PPP_RPC_H_ |
| 210 | 211 |
| OLD | NEW |