Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_websocket.srpc

Issue 9802027: WebSocket Pepper API: synchronous completion support (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase again Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 calls from the plugin. 5 # RPC methods used to implement PPB_WebSocket calls from the plugin.
6 # See ppapi/c/ppb_websocket.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': [
(...skipping 26 matching lines...) Expand all
37 ['callback_id', 'int32_t'], # PP_CompletionCallback 37 ['callback_id', 'int32_t'], # PP_CompletionCallback
38 ], 38 ],
39 'outputs': [['pp_error', 'int32_t'], # int32_t 39 'outputs': [['pp_error', 'int32_t'], # int32_t
40 ] 40 ]
41 }, 41 },
42 {'name': 'PPB_WebSocket_ReceiveMessage', 42 {'name': 'PPB_WebSocket_ReceiveMessage',
43 'inputs': [['ws', 'PP_Resource'], # PP_Resource 43 'inputs': [['ws', 'PP_Resource'], # PP_Resource
44 ['callback_id', 'int32_t'], # PP_CompletionCallback 44 ['callback_id', 'int32_t'], # PP_CompletionCallback
45 ], 45 ],
46 'outputs': [['pp_error', 'int32_t'], # int32_t 46 'outputs': [['pp_error', 'int32_t'], # int32_t
47 ['sync_read_buffer', 'char[]'], # PP_Var
47 ] 48 ]
48 }, 49 },
49 {'name': 'PPB_WebSocket_SendMessage', 50 {'name': 'PPB_WebSocket_SendMessage',
50 'inputs': [['ws', 'PP_Resource'], # PP_Resource 51 'inputs': [['ws', 'PP_Resource'], # PP_Resource
51 ['message', 'char[]'], # PP_Var 52 ['message', 'char[]'], # PP_Var
52 ], 53 ],
53 'outputs': [['pp_error', 'int32_t'], # int32_t 54 'outputs': [['pp_error', 'int32_t'], # int32_t
54 ] 55 ]
55 }, 56 },
56 {'name': 'PPB_WebSocket_GetBufferedAmount', 57 {'name': 'PPB_WebSocket_GetBufferedAmount',
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 ] 97 ]
97 }, 98 },
98 {'name': 'PPB_WebSocket_GetURL', 99 {'name': 'PPB_WebSocket_GetURL',
99 'inputs': [['ws', 'PP_Resource'], # PP_Resource 100 'inputs': [['ws', 'PP_Resource'], # PP_Resource
100 ], 101 ],
101 'outputs': [['url', 'char[]'], # PP_Var 102 'outputs': [['url', 'char[]'], # PP_Var
102 ] 103 ]
103 } 104 }
104 ] 105 ]
105 } 106 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698