Chromium Code Reviews| Index: ppapi/api/ppb_websocket.idl |
| diff --git a/ppapi/api/ppb_websocket.idl b/ppapi/api/ppb_websocket.idl |
| index 1e138bb80b47bf8a405a99177edef010c7321f7d..5700f830a27e90809123363564f2b8552bcd6cdb 100644 |
| --- a/ppapi/api/ppb_websocket.idl |
| +++ b/ppapi/api/ppb_websocket.idl |
| @@ -58,6 +58,13 @@ enum PP_WebSocketReadyState { |
| [assert_size(4)] |
| enum PP_WebSocketCloseCode { |
| /** |
| + * Indicates to request closing connection without status code. This code is |
| + * internally assigned in WebKit, and not based on any WebSocket related |
| + * specification. |
| + */ |
| + PP_WEBSOCKETSTATUSCODE_NOT_SPECIFIED = 65535, |
|
dmichael (off chromium)
2012/05/14 16:10:49
Maybe you should use -1? Since code is unsigned in
Takashi Toyoshima
2012/05/15 10:55:28
Yes, in the same reason, I defined the equivalent
|
| + |
| + /** |
| * Status codes in the range 0-999 are not used. |
| */ |