Index: third_party/WebKit/public/platform/modules/websockets/websocket.mojom |
diff --git a/third_party/WebKit/public/platform/modules/websockets/websocket.mojom b/third_party/WebKit/public/platform/modules/websockets/websocket.mojom |
index be0d4cfd71a169cefb80eb251368961d28a71a3c..74e1973b3ab04282bc5f736a1bd6903417fbed07 100644 |
--- a/third_party/WebKit/public/platform/modules/websockets/websocket.mojom |
+++ b/third_party/WebKit/public/platform/modules/websockets/websocket.mojom |
@@ -96,6 +96,10 @@ interface WebSocketClient { |
}; |
interface WebSocket { |
+ // The client side may observe the following disconnection reason from the |
+ // service side: |
+ const uint32 kInsufficientResources = 1; |
+ |
// Open new WebSocket connection to |socket_url|. |requested_protocols| is a |
// list of tokens identifying sub-protocols the renderer would like to use, |
// as described in RFC6455 "Subprotocols Using the WebSocket Protocol". |