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

Unified Diff: mojo/services/network/public/interfaces/tcp_server_socket.mojom

Issue 1873463003: Remove mojo network service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/network/public/interfaces/tcp_server_socket.mojom
diff --git a/mojo/services/network/public/interfaces/tcp_server_socket.mojom b/mojo/services/network/public/interfaces/tcp_server_socket.mojom
deleted file mode 100644
index 9305e1b3a5053655617039bbbad68b662121fbce..0000000000000000000000000000000000000000
--- a/mojo/services/network/public/interfaces/tcp_server_socket.mojom
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module mojo;
-
-import "network/public/interfaces/net_address.mojom";
-import "network/public/interfaces/network_error.mojom";
-import "network/public/interfaces/tcp_connected_socket.mojom";
-
-// Represents a TCP server socket listening for incoming requests.
-interface TCPServerSocket {
- // Waits for an incoming connection request and hooks up a TCPConnectedSocket
- // for connecting with the remote host. Only one Accept call can be pending
- // at a time.
- //
- // Once a connection has been established (indicated by a successful
- // callback), the TCPConnectedSocket may outlive the TCPServerSocket that
- // created it.
- //
- // On success, the address of the remote host will be provided.
- Accept(handle<data_pipe_consumer> send_stream,
- handle<data_pipe_producer> receive_stream,
- TCPConnectedSocket& client_socket)
- => (NetworkError result, NetAddress? remote_address);
-};

Powered by Google App Engine
This is Rietveld 408576698