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

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

Issue 863253002: Update from https://crrev.com/312600 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/udp_socket.mojom
diff --git a/mojo/services/network/public/interfaces/udp_socket.mojom b/mojo/services/network/public/interfaces/udp_socket.mojom
index 677e25df401309996b28eb10281f4115c6058dfa..0ea08a5af7f1a4663368f450d3d0e876d51b71d9 100644
--- a/mojo/services/network/public/interfaces/udp_socket.mojom
+++ b/mojo/services/network/public/interfaces/udp_socket.mojom
@@ -20,13 +20,13 @@ import "network/public/interfaces/network_error.mojom";
[Client=UDPSocketClient]
interface UDPSocket {
// Allows the socket to share the local address to which it will be bound with
- // other processes. Should be called before Bind()/Connect().
+ // other processes. Should be called before Bind().
// (This is equivalent to SO_REUSEADDR of the POSIX socket API.)
AllowAddressReuse() => (NetworkError result);
// Binds the socket to the given address. The socket must not be bound or
// connected.
- // |bound_addr| is non-NULL on success. It might not be the same as |addr|.
+ // |bound_addr| is non-null on success. It might not be the same as |addr|.
// For example, if port 0 is used in |addr|, an available port is picked and
// returned in |bound_addr|.
Bind(NetAddress addr) => (NetworkError result, NetAddress? bound_addr);
@@ -34,7 +34,7 @@ interface UDPSocket {
// Connects the socket to the remote address. The socket must not be bound or
// connected.
- // |local_addr| is non-NULL on success.
+ // |local_addr| is non-null on success.
Connect(NetAddress remote_addr) => (NetworkError result,
NetAddress? local_addr);
@@ -97,7 +97,7 @@ interface UDPSocket {
ReceiveMore(uint32 datagram_number);
// Sends data to the specified destination. The socket must be bound or
- // connected. |dest_addr| is allowed to be NULL if the socket is connected.
+ // connected. |dest_addr| is allowed to be null if the socket is connected.
// On success, |result.code| is a non-negative number indicating how many
// bytes have been written. Otherwise, it is a network error code, including
// (but not limited to):
@@ -109,7 +109,7 @@ interface UDPSocket {
};
interface UDPSocketClient {
- // On success, |data| is non-NULL, |src_addr| is non-NULL if the socket is
+ // On success, |data| is non-null, |src_addr| is non-null if the socket is
// not connected, |result.code| is a non-negative number indicating how many
// bytes have been received. On failure, |result.code| is a network error
// code.

Powered by Google App Engine
This is Rietveld 408576698