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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/shared/ppapi_proxy/ppb_websocket.srpc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/ppb_websocket.srpc b/ppapi/native_client/src/shared/ppapi_proxy/ppb_websocket.srpc
index 44ed1455154726555eb3d51975e1048a4d12a680..1273df929c79642b44656ed709d9cd9d48fad3f0 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/ppb_websocket.srpc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/ppb_websocket.srpc
@@ -32,7 +32,7 @@
},
{'name': 'PPB_WebSocket_Close',
'inputs': [['ws', 'PP_Resource'], # PP_Resource
- ['code', 'int32_t'], # uint16_t
+ ['code', 'int32_t'], # PP_WebSocketStatusCode
['reason', 'char[]'], # PP_Var
['callback_id', 'int32_t'], # PP_CompletionCallback
],

Powered by Google App Engine
This is Rietveld 408576698