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

Side by Side Diff: mojo/services/public/interfaces/network/web_socket.mojom

Issue 683583002: Update mojo sdk to rev e083961bf11fd0c94d40be8853761da529b6d444 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 import "mojo/services/public/interfaces/network/network_error.mojom" 5 import "mojo/services/public/interfaces/network/network_error.mojom";
6 6
7 module mojo { 7 module mojo {
8 8
9 interface WebSocket { 9 interface WebSocket {
10 enum MessageType { 10 enum MessageType {
11 CONTINUATION, 11 CONTINUATION,
12 TEXT, 12 TEXT,
13 BINARY 13 BINARY
14 }; 14 };
15 const uint16 kAbnormalCloseCode = 1006; // stolen from websocket_bridge 15 const uint16 kAbnormalCloseCode = 1006; // stolen from websocket_bridge
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 DidClose(bool was_clean, uint16 code, string reason); 53 DidClose(bool was_clean, uint16 code, string reason);
54 54
55 // Blink has 3 extra methods that we don't implement, because they are used 55 // Blink has 3 extra methods that we don't implement, because they are used
56 // for the inspector: 56 // for the inspector:
57 // didStartOpeningHandshake 57 // didStartOpeningHandshake
58 // didFinishOpeningHandshake 58 // didFinishOpeningHandshake
59 // didStartClosingHandshake 59 // didStartClosingHandshake
60 }; 60 };
61 61
62 } 62 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698