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

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

Issue 1129063008: Move mojom definitions of URL{Request,Response} into SDK (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: update for monet 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "mojo/public/interfaces/network/network_error.mojom";
7 import "network/public/interfaces/http_message.mojom"; 8 import "network/public/interfaces/http_message.mojom";
8 import "network/public/interfaces/network_error.mojom";
9 import "network/public/interfaces/web_socket.mojom"; 9 import "network/public/interfaces/web_socket.mojom";
10 10
11 interface HttpConnection { 11 interface HttpConnection {
12 // Sets the OS send buffer size (in bytes) for the underlying socket. 12 // Sets the OS send buffer size (in bytes) for the underlying socket.
13 SetSendBufferSize(uint32 size) => (NetworkError result); 13 SetSendBufferSize(uint32 size) => (NetworkError result);
14 14
15 // Sets the OS receive buffer size (in bytes) for the underlying socket. 15 // Sets the OS receive buffer size (in bytes) for the underlying socket.
16 SetReceiveBufferSize(uint32 size) => (NetworkError result); 16 SetReceiveBufferSize(uint32 size) => (NetworkError result);
17 }; 17 };
18 18
(...skipping 14 matching lines...) Expand all
33 // following are not supported: 33 // following are not supported:
34 // - negotiating subprotocol or extension; 34 // - negotiating subprotocol or extension;
35 // - fragmented or non-text messages; 35 // - fragmented or non-text messages;
36 // - failure or close notification; 36 // - failure or close notification;
37 // - flow control. 37 // - flow control.
38 OnReceivedWebSocketRequest(HttpRequest request) 38 OnReceivedWebSocketRequest(HttpRequest request)
39 => (WebSocket&? web_socket, 39 => (WebSocket&? web_socket,
40 handle<data_pipe_consumer>? send_stream, 40 handle<data_pipe_consumer>? send_stream,
41 WebSocketClient? client); 41 WebSocketClient? client);
42 }; 42 };
OLDNEW
« no previous file with comments | « mojo/services/network/public/interfaces/BUILD.gn ('k') | mojo/services/network/public/interfaces/http_message.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698