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

Unified Diff: ppapi/c/ppb_websocket.h

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: 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/c/ppb_websocket.h
diff --git a/ppapi/c/ppb_websocket.h b/ppapi/c/ppb_websocket.h
index 64638822e9c61cee6cc3d942cb33e8d00cb53fc1..52eb0fe975b56bdb49544d2472bee24217999528 100644
--- a/ppapi/c/ppb_websocket.h
+++ b/ppapi/c/ppb_websocket.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_websocket.idl modified Wed Apr 25 11:48:30 2012. */
+/* From ppb_websocket.idl modified Mon May 14 20:20:06 2012. */
#ifndef PPAPI_C_PPB_WEBSOCKET_H_
#define PPAPI_C_PPB_WEBSOCKET_H_
@@ -72,6 +72,12 @@ PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_WebSocketReadyState, 4);
*/
typedef enum {
/**
+ * 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,
+ /**
* Status codes in the range 0-999 are not used.
*/
/**

Powered by Google App Engine
This is Rietveld 408576698