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 calls from the plugin. |
6 # See ppapi/c/dev/ppb_websocket_dev.h for interface details. | 6 # See ppapi/c/ppb_websocket.h for interface details. |
7 | 7 |
8 { | 8 { |
9 'name': 'PpbWebSocketRpc', | 9 'name': 'PpbWebSocketRpc', |
10 'rpcs': [ | 10 'rpcs': [ |
11 {'name': 'PPB_WebSocket_Create', | 11 {'name': 'PPB_WebSocket_Create', |
12 'inputs': [['instance', 'PP_Instance'], # PP_Instance | 12 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
13 ], | 13 ], |
14 'outputs': [['resource', 'PP_Resource'], # PP_Resource | 14 'outputs': [['resource', 'PP_Resource'], # PP_Resource |
15 ] | 15 ] |
16 }, | 16 }, |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } | 103 } |
104 ] | 104 ] |
105 } | 105 } |
OLD | NEW |