| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium 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 module content.mojom; | 5 module blink.mojom; |
| 6 | 6 |
| 7 import "url/mojo/origin.mojom"; | 7 import "url/mojo/origin.mojom"; |
| 8 import "url/mojo/url.mojom"; | 8 import "url/mojo/url.mojom"; |
| 9 | 9 |
| 10 enum WebSocketMessageType { | 10 enum WebSocketMessageType { |
| 11 CONTINUATION, | 11 CONTINUATION, |
| 12 TEXT, | 12 TEXT, |
| 13 BINARY, | 13 BINARY, |
| 14 LAST = BINARY | 14 LAST = BINARY |
| 15 }; | 15 }; |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 // | 129 // |
| 130 // When sent by the renderer, this will cause a Close message will be sent and | 130 // When sent by the renderer, this will cause a Close message will be sent and |
| 131 // the TCP/IP connection will be closed. | 131 // the TCP/IP connection will be closed. |
| 132 // | 132 // |
| 133 // - |code| is one of the reason codes specified in RFC6455. | 133 // - |code| is one of the reason codes specified in RFC6455. |
| 134 // - |reason|, if non-empty, is a UTF-8 encoded string which may be useful for | 134 // - |reason|, if non-empty, is a UTF-8 encoded string which may be useful for |
| 135 // debugging but is not necessarily human-readable, as supplied by the | 135 // debugging but is not necessarily human-readable, as supplied by the |
| 136 // server in the Close message. | 136 // server in the Close message. |
| 137 StartClosingHandshake(uint16 code, string reason); | 137 StartClosingHandshake(uint16 code, string reason); |
| 138 }; | 138 }; |
| OLD | NEW |