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

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

Issue 1404443004: Move //mojo/services/network/public/interfaces to //mojo/services/network/interfaces. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: add some missing dependencies Created 5 years, 2 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 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo; 6 module mojo;
7 7
8 import "mojo/public/interfaces/network/network_error.mojom"; 8 import "mojo/public/interfaces/network/network_error.mojom";
9 import "network/public/interfaces/http_message.mojom"; 9 import "network/interfaces/http_message.mojom";
10 import "network/public/interfaces/web_socket.mojom"; 10 import "network/interfaces/web_socket.mojom";
11 11
12 interface HttpConnection { 12 interface HttpConnection {
13 // Sets the OS send buffer size (in bytes) for the underlying socket. 13 // Sets the OS send buffer size (in bytes) for the underlying socket.
14 SetSendBufferSize(uint32 size) => (NetworkError result); 14 SetSendBufferSize(uint32 size) => (NetworkError result);
15 15
16 // Sets the OS receive buffer size (in bytes) for the underlying socket. 16 // Sets the OS receive buffer size (in bytes) for the underlying socket.
17 SetReceiveBufferSize(uint32 size) => (NetworkError result); 17 SetReceiveBufferSize(uint32 size) => (NetworkError result);
18 }; 18 };
19 19
20 interface HttpConnectionDelegate { 20 interface HttpConnectionDelegate {
(...skipping 13 matching lines...) Expand all
34 // following are not supported: 34 // following are not supported:
35 // - negotiating subprotocol or extension; 35 // - negotiating subprotocol or extension;
36 // - fragmented or non-text messages; 36 // - fragmented or non-text messages;
37 // - failure or close notification; 37 // - failure or close notification;
38 // - flow control. 38 // - flow control.
39 OnReceivedWebSocketRequest(HttpRequest request) 39 OnReceivedWebSocketRequest(HttpRequest request)
40 => (WebSocket&? web_socket, 40 => (WebSocket&? web_socket,
41 handle<data_pipe_consumer>? send_stream, 41 handle<data_pipe_consumer>? send_stream,
42 WebSocketClient? client); 42 WebSocketClient? client);
43 }; 43 };
OLDNEW
« no previous file with comments | « mojo/services/network/interfaces/host_resolver.mojom ('k') | mojo/services/network/interfaces/http_message.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698