| OLD | NEW |
| 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # RPC methods used to implement PPB_WebSocket_Dev calls from the plugin. | 5 # RPC methods used to implement PPB_WebSocket_Dev calls from the plugin. |
| 6 # See ppapi/c/dev/ppb_websocket_dev.h for interface details. | 6 # See ppapi/c/dev/ppb_websocket_dev.h for interface details. |
| 7 | 7 |
| 8 { | 8 { |
| 9 'name': 'PpbWebSocketRpc', | 9 'name': 'PpbWebSocketRpc', |
| 10 'rpcs': [ | 10 'rpcs': [ |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 'inputs': [['ws', 'PP_Resource'], # PP_Resource | 93 'inputs': [['ws', 'PP_Resource'], # PP_Resource |
| 94 ], | 94 ], |
| 95 'outputs': [['ready_state', 'int32_t'], # PP_WebSocketReadyState | 95 'outputs': [['ready_state', 'int32_t'], # PP_WebSocketReadyState |
| 96 ] | 96 ] |
| 97 }, | 97 }, |
| 98 {'name': 'PPB_WebSocket_GetURL', | 98 {'name': 'PPB_WebSocket_GetURL', |
| 99 'inputs': [['ws', 'PP_Resource'], # PP_Resource | 99 'inputs': [['ws', 'PP_Resource'], # PP_Resource |
| 100 ], | 100 ], |
| 101 'outputs': [['url', 'char[]'], # PP_Var | 101 'outputs': [['url', 'char[]'], # PP_Var |
| 102 ] | 102 ] |
| 103 }, | |
| 104 {'name': 'PPB_WebSocket_SetBinaryType', | |
| 105 'inputs': [['ws', 'PP_Resource'], # PP_Resource | |
| 106 ['binary_type', 'int32_t'], # PP_WebSocketBinaryType | |
| 107 ], | |
| 108 'outputs': [['success', 'int32_t'], # PP_Bool | |
| 109 ] | |
| 110 }, | |
| 111 {'name': 'PPB_WebSocket_GetBinaryType', | |
| 112 'inputs': [['ws', 'PP_Resource'], # PP_Resource | |
| 113 ], | |
| 114 'outputs': [['binary_type', 'int32_t'], # PP_WebSocketBinaryType | |
| 115 ] | |
| 116 } | 103 } |
| 117 ] | 104 ] |
| 118 } | 105 } |
| OLD | NEW |