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

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

Issue 10332138: WebSocket Pepper API: allow to close connection without code and reason (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: uint16_t -> enum Created 8 years, 7 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 | Annotate | Revision Log
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 14 matching lines...) Expand all
25 ['url', 'char[]'], # PP_Var 25 ['url', 'char[]'], # PP_Var
26 ['protocols', 'char[]'], # PP_Var[] 26 ['protocols', 'char[]'], # PP_Var[]
27 ['protocol_count', 'int32_t'], # uint32_t 27 ['protocol_count', 'int32_t'], # uint32_t
28 ['callback_id', 'int32_t'], # PP_CompletionCallback 28 ['callback_id', 'int32_t'], # PP_CompletionCallback
29 ], 29 ],
30 'outputs': [['pp_error', 'int32_t'], # int32_t 30 'outputs': [['pp_error', 'int32_t'], # int32_t
31 ] 31 ]
32 }, 32 },
33 {'name': 'PPB_WebSocket_Close', 33 {'name': 'PPB_WebSocket_Close',
34 'inputs': [['ws', 'PP_Resource'], # PP_Resource 34 'inputs': [['ws', 'PP_Resource'], # PP_Resource
35 ['code', 'int32_t'], # uint16_t 35 ['code', 'int32_t'], # PP_WebSocketStatusCode
36 ['reason', 'char[]'], # PP_Var 36 ['reason', 'char[]'], # PP_Var
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 ],
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 ] 97 ]
98 }, 98 },
99 {'name': 'PPB_WebSocket_GetURL', 99 {'name': 'PPB_WebSocket_GetURL',
100 'inputs': [['ws', 'PP_Resource'], # PP_Resource 100 'inputs': [['ws', 'PP_Resource'], # PP_Resource
101 ], 101 ],
102 'outputs': [['url', 'char[]'], # PP_Var 102 'outputs': [['url', 'char[]'], # PP_Var
103 ] 103 ]
104 } 104 }
105 ] 105 ]
106 } 106 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698