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

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

Issue 1187513005: Update to Mojo SDK ab3f523596234e74 including URL{Request,Response} (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « mojo/services/network/public/interfaces/url_loader_interceptor.mojom ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 module mojo; 5 module mojo;
6 6
7 import "network/public/interfaces/network_error.mojom"; 7 import "third_party/mojo/src/mojo/public/interfaces/network/network_error.mojom" ;
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
16 16
17 // Initiates a WebSocket connection to the given url. |send_stream| is a data 17 // Initiates a WebSocket connection to the given url. |send_stream| is a data
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 DidFail(string message); 50 DidFail(string message);
51 51
52 DidClose(bool was_clean, uint16 code, string reason); 52 DidClose(bool was_clean, uint16 code, string reason);
53 53
54 // Blink has 3 extra methods that we don't implement, because they are used 54 // Blink has 3 extra methods that we don't implement, because they are used
55 // for the inspector: 55 // for the inspector:
56 // didStartOpeningHandshake 56 // didStartOpeningHandshake
57 // didFinishOpeningHandshake 57 // didFinishOpeningHandshake
58 // didStartClosingHandshake 58 // didStartClosingHandshake
59 }; 59 };
OLDNEW
« no previous file with comments | « mojo/services/network/public/interfaces/url_loader_interceptor.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698