| OLD | NEW |
| 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 [DartUriBase="mojo/services/network/public/interfaces"] |
| 5 module mojo; | 6 module mojo; |
| 6 | 7 |
| 7 import "network/public/interfaces/cookie_store.mojom"; | 8 import "network/public/interfaces/cookie_store.mojom"; |
| 8 import "network/public/interfaces/net_address.mojom"; | 9 import "network/public/interfaces/net_address.mojom"; |
| 9 import "network/public/interfaces/network_error.mojom"; | 10 import "network/public/interfaces/network_error.mojom"; |
| 10 import "network/public/interfaces/tcp_bound_socket.mojom"; | 11 import "network/public/interfaces/tcp_bound_socket.mojom"; |
| 11 import "network/public/interfaces/tcp_connected_socket.mojom"; | 12 import "network/public/interfaces/tcp_connected_socket.mojom"; |
| 12 import "network/public/interfaces/udp_socket.mojom"; | 13 import "network/public/interfaces/udp_socket.mojom"; |
| 13 import "network/public/interfaces/url_loader.mojom"; | 14 import "network/public/interfaces/url_loader.mojom"; |
| 14 import "network/public/interfaces/web_socket.mojom"; | 15 import "network/public/interfaces/web_socket.mojom"; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // to decide between IPv4 and IPv6 on a given system. | 53 // to decide between IPv4 and IPv6 on a given system. |
| 53 CreateTCPConnectedSocket(NetAddress remote_address, | 54 CreateTCPConnectedSocket(NetAddress remote_address, |
| 54 handle<data_pipe_consumer> send_stream, | 55 handle<data_pipe_consumer> send_stream, |
| 55 handle<data_pipe_producer> receive_stream, | 56 handle<data_pipe_producer> receive_stream, |
| 56 TCPConnectedSocket& client_socket) | 57 TCPConnectedSocket& client_socket) |
| 57 => (NetworkError result, | 58 => (NetworkError result, |
| 58 NetAddress? local_address); | 59 NetAddress? local_address); |
| 59 | 60 |
| 60 CreateUDPSocket(UDPSocket& socket); | 61 CreateUDPSocket(UDPSocket& socket); |
| 61 }; | 62 }; |
| OLD | NEW |