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

Unified Diff: mojo/services/network/interfaces/udp_socket.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/udp_socket.mojom
diff --git a/mojo/services/network/interfaces/udp_socket.mojom b/mojo/services/network/interfaces/udp_socket.mojom
index 73d1af702d61c1023fe4f1ca138dd3b79e6a188f..6a2dcea0920a5b18c355a416e52feaa05edd8cdc 100644
--- a/mojo/services/network/interfaces/udp_socket.mojom
+++ b/mojo/services/network/interfaces/udp_socket.mojom
@@ -30,17 +30,14 @@ interface UDPSocket {
// returned in |bound_addr|. The caller may provide an implementation of
// |receiver| to receive datagrams read from the socket. |receiver| is null
// on failure.
- Bind(NetAddress addr) => (NetworkError result, NetAddress? bound_addr,
- UDPSocketReceiver&? receiver);
+ Bind(NetAddress addr) => (NetworkError result, NetAddress? bound_addr, UDPSocketReceiver&? receiver);
// Connects the socket to the remote address. The socket must not be bound or
// connected.
// |local_addr| is non-null on success.
// The caller may provide an implementation of |receiver| to receive datagrams
// read from the socket. |receiver| is null on failure.
- Connect(NetAddress remote_addr) => (NetworkError result,
- NetAddress? local_addr,
- UDPSocketReceiver&? receiver);
+ Connect(NetAddress remote_addr) => (NetworkError result, NetAddress? local_addr, UDPSocketReceiver&? receiver);
// Sets the OS send buffer size (in bytes) for the socket. The socket must be
// bound or connected.
@@ -61,8 +58,7 @@ interface UDPSocket {
// those datagrams. If the client wants to avoid such failures, it needs to
// keep track of how many SendTo() calls are pending and make sure the number
// doesn't exceed the result of this method.
- NegotiateMaxPendingSendRequests(uint32 requested_size)
- => (uint32 actual_size);
+ NegotiateMaxPendingSendRequests(uint32 requested_size) => (uint32 actual_size);
// Notifies that the receiver is ready to accept |number| of datagrams.
// Correspondingly, OnReceived() of the UDPSocketReceiver interface will be

Powered by Google App Engine
This is Rietveld 408576698