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 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1423 PP_Resource ws, | 1423 PP_Resource ws, |
1424 int32_t code, | 1424 int32_t code, |
1425 nacl_abi_size_t reason_bytes, char* reason, | 1425 nacl_abi_size_t reason_bytes, char* reason, |
1426 int32_t callback_id, | 1426 int32_t callback_id, |
1427 int32_t* pp_error); | 1427 int32_t* pp_error); |
1428 static void PPB_WebSocket_ReceiveMessage( | 1428 static void PPB_WebSocket_ReceiveMessage( |
1429 NaClSrpcRpc* rpc, | 1429 NaClSrpcRpc* rpc, |
1430 NaClSrpcClosure* done, | 1430 NaClSrpcClosure* done, |
1431 PP_Resource ws, | 1431 PP_Resource ws, |
1432 int32_t callback_id, | 1432 int32_t callback_id, |
1433 int32_t* pp_error); | 1433 int32_t* pp_error, |
| 1434 nacl_abi_size_t* sync_read_buffer_bytes, char* sync_read_buffer); |
1434 static void PPB_WebSocket_SendMessage( | 1435 static void PPB_WebSocket_SendMessage( |
1435 NaClSrpcRpc* rpc, | 1436 NaClSrpcRpc* rpc, |
1436 NaClSrpcClosure* done, | 1437 NaClSrpcClosure* done, |
1437 PP_Resource ws, | 1438 PP_Resource ws, |
1438 nacl_abi_size_t message_bytes, char* message, | 1439 nacl_abi_size_t message_bytes, char* message, |
1439 int32_t* pp_error); | 1440 int32_t* pp_error); |
1440 static void PPB_WebSocket_GetBufferedAmount( | 1441 static void PPB_WebSocket_GetBufferedAmount( |
1441 NaClSrpcRpc* rpc, | 1442 NaClSrpcRpc* rpc, |
1442 NaClSrpcClosure* done, | 1443 NaClSrpcClosure* done, |
1443 PP_Resource ws, | 1444 PP_Resource ws, |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1543 }; // class PpbZoomRpcServer | 1544 }; // class PpbZoomRpcServer |
1544 | 1545 |
1545 class PpbRpcs { | 1546 class PpbRpcs { |
1546 public: | 1547 public: |
1547 static NaClSrpcHandlerDesc srpc_methods[]; | 1548 static NaClSrpcHandlerDesc srpc_methods[]; |
1548 }; // class PpbRpcs | 1549 }; // class PpbRpcs |
1549 | 1550 |
1550 | 1551 |
1551 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ | 1552 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ |
1552 | 1553 |
OLD | NEW |