| 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 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1443 PP_Resource ws, | 1443 PP_Resource ws, |
| 1444 int32_t code, | 1444 int32_t code, |
| 1445 nacl_abi_size_t reason_bytes, char* reason, | 1445 nacl_abi_size_t reason_bytes, char* reason, |
| 1446 int32_t callback_id, | 1446 int32_t callback_id, |
| 1447 int32_t* pp_error); | 1447 int32_t* pp_error); |
| 1448 static void PPB_WebSocket_ReceiveMessage( | 1448 static void PPB_WebSocket_ReceiveMessage( |
| 1449 NaClSrpcRpc* rpc, | 1449 NaClSrpcRpc* rpc, |
| 1450 NaClSrpcClosure* done, | 1450 NaClSrpcClosure* done, |
| 1451 PP_Resource ws, | 1451 PP_Resource ws, |
| 1452 int32_t callback_id, | 1452 int32_t callback_id, |
| 1453 int32_t* pp_error); | 1453 int32_t* pp_error, |
| 1454 nacl_abi_size_t* sync_read_buffer_bytes, char* sync_read_buffer); |
| 1454 static void PPB_WebSocket_SendMessage( | 1455 static void PPB_WebSocket_SendMessage( |
| 1455 NaClSrpcRpc* rpc, | 1456 NaClSrpcRpc* rpc, |
| 1456 NaClSrpcClosure* done, | 1457 NaClSrpcClosure* done, |
| 1457 PP_Resource ws, | 1458 PP_Resource ws, |
| 1458 nacl_abi_size_t message_bytes, char* message, | 1459 nacl_abi_size_t message_bytes, char* message, |
| 1459 int32_t* pp_error); | 1460 int32_t* pp_error); |
| 1460 static void PPB_WebSocket_GetBufferedAmount( | 1461 static void PPB_WebSocket_GetBufferedAmount( |
| 1461 NaClSrpcRpc* rpc, | 1462 NaClSrpcRpc* rpc, |
| 1462 NaClSrpcClosure* done, | 1463 NaClSrpcClosure* done, |
| 1463 PP_Resource ws, | 1464 PP_Resource ws, |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1563 }; // class PpbZoomRpcServer | 1564 }; // class PpbZoomRpcServer |
| 1564 | 1565 |
| 1565 class PpbRpcs { | 1566 class PpbRpcs { |
| 1566 public: | 1567 public: |
| 1567 static NaClSrpcHandlerDesc srpc_methods[]; | 1568 static NaClSrpcHandlerDesc srpc_methods[]; |
| 1568 }; // class PpbRpcs | 1569 }; // class PpbRpcs |
| 1569 | 1570 |
| 1570 | 1571 |
| 1571 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ | 1572 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ |
| 1572 | 1573 |
| OLD | NEW |