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

Unified Diff: mojo/services/network/interfaces/network_service.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 10 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/interfaces/network_service.mojom
diff --git a/mojo/services/network/interfaces/network_service.mojom b/mojo/services/network/interfaces/network_service.mojom
index 8ab0d1a4f7d14e6d8626f202fd1696f83f69c476..15c8ffd16bce033442ae43f23c044dfb2b43dc1d 100644
--- a/mojo/services/network/interfaces/network_service.mojom
+++ b/mojo/services/network/interfaces/network_service.mojom
@@ -40,9 +40,7 @@ interface NetworkService {
// address and port for the OS to pick both the local address and port. In
// all success cases, the resulting local address will be passed to the
// callback as bound_to.
- CreateTCPBoundSocket(NetAddress? local_address,
- TCPBoundSocket& bound_socket)
- => (NetworkError result, NetAddress? bound_to);
+ CreateTCPBoundSocket(NetAddress? local_address, TCPBoundSocket& bound_socket) => (NetworkError result, NetAddress? bound_to);
// Creates a client socket connected to the given remote address. A local
// address and port will be allocated for the connection and passed to the
@@ -55,12 +53,7 @@ interface NetworkService {
// indicate the protocol type (IPv4 or IPv6) actually be able to create the
// right type of socket. We also need to figure out how the client is supposed
// to decide between IPv4 and IPv6 on a given system.
- CreateTCPConnectedSocket(NetAddress remote_address,
- handle<data_pipe_consumer> send_stream,
- handle<data_pipe_producer> receive_stream,
- TCPConnectedSocket& client_socket)
- => (NetworkError result,
- NetAddress? local_address);
+ CreateTCPConnectedSocket(NetAddress remote_address, handle<data_pipe_consumer> send_stream, handle<data_pipe_producer> receive_stream, TCPConnectedSocket& client_socket) => (NetworkError result, NetAddress? local_address);
CreateUDPSocket(UDPSocket& socket);
@@ -72,10 +65,7 @@ interface NetworkService {
// address and port for the OS to pick both the local address and port. In
// all success cases, the resulting local address will be passed to the
// callback as bound_to.
- CreateHttpServer(NetAddress local_address,
- HttpServerDelegate delegate)
- => (NetworkError result,
- NetAddress? bound_to);
+ CreateHttpServer(NetAddress local_address, HttpServerDelegate delegate) => (NetworkError result, NetAddress? bound_to);
// Register a new url loader interceptor that will be used on any new
// URLLoader created with the current connection to the network service.

Powered by Google App Engine
This is Rietveld 408576698