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

Side by Side Diff: third_party/WebKit/public/platform/modules/websockets/websocket.mojom

Issue 2284473002: Move WebSocketHandleImpl into Blink (take 2) (Closed)
Patch Set: Rebase Created 4 years, 3 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 unified diff | Download patch
OLDNEW
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698