summaryrefslogtreecommitdiffstats
path: root/net/udp
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-07 17:00:48 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-07 17:00:48 +0000
commit7be809dfd2b85fb71d6ac4946804dd927194c893 (patch)
treecadeff0f6a30d06d468bd9ad34dfb7b16831ec6a /net/udp
parentf8562a33e3319de7d43486c10b96535fb3a0f7e4 (diff)
downloadchromium_src-7be809dfd2b85fb71d6ac4946804dd927194c893.zip
chromium_src-7be809dfd2b85fb71d6ac4946804dd927194c893.tar.gz
chromium_src-7be809dfd2b85fb71d6ac4946804dd927194c893.tar.bz2
Fix comment nits. This is a follow-up to
https://chromiumcodereview.appspot.com/10739002/. R=ygorshenin@chromium.org BUG=136797 TEST=no compilation errors Review URL: https://chromiumcodereview.appspot.com/10783029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/udp')
-rw-r--r--net/udp/datagram_server_socket.h6
-rw-r--r--net/udp/udp_socket_libevent.h10
-rw-r--r--net/udp/udp_socket_win.h10
3 files changed, 13 insertions, 13 deletions
diff --git a/net/udp/datagram_server_socket.h b/net/udp/datagram_server_socket.h
index 206f2f5..a1aa38b 100644
--- a/net/udp/datagram_server_socket.h
+++ b/net/udp/datagram_server_socket.h
@@ -60,12 +60,12 @@ class NET_EXPORT DatagramServerSocket : public DatagramSocket {
// Set the send buffer size (in bytes) for the socket.
virtual bool SetSendBufferSize(int32 size) = 0;
- // Allow the socket to share the local address to which socket will
+ // Allow the socket to share the local address to which the socket will
// be bound with other processes. Should be called before Listen().
virtual void AllowAddressReuse() = 0;
- // Allow sending and receiving packets sent to and from broadcast
- // addresses. Should be called before Listen().
+ // Allow sending and receiving packets to and from broadcast addresses.
+ // Should be called before Listen().
virtual void AllowBroadcast() = 0;
};
diff --git a/net/udp/udp_socket_libevent.h b/net/udp/udp_socket_libevent.h
index 2c19841..4d3cddd 100644
--- a/net/udp/udp_socket_libevent.h
+++ b/net/udp/udp_socket_libevent.h
@@ -104,13 +104,13 @@ class NET_EXPORT UDPSocketLibevent : public base::NonThreadSafe {
const BoundNetLog& NetLog() const { return net_log_; }
// Sets corresponding flags in |socket_options_| to allow the socket
- // to share the local address to which socket will be bound with
+ // to share the local address to which the socket will be bound with
// other processes. Should be called before Bind().
void AllowAddressReuse();
// Sets corresponding flags in |socket_options_| to allow sending
- // and receiving packets sent to and from broadcast
- // addresses. Should be called before Bind().
+ // and receiving packets to and from broadcast addresses. Should be
+ // called before Bind().
void AllowBroadcast();
private:
@@ -195,8 +195,8 @@ class NET_EXPORT UDPSocketLibevent : public base::NonThreadSafe {
int socket_;
- // Bitwise-or'd combination of SocketOptions. Specifies set of
- // options that should be applied to |socket_| before bind.
+ // Bitwise-or'd combination of SocketOptions. Specifies the set of
+ // options that should be applied to |socket_| before Bind().
int socket_options_;
// How to do source port binding, used only when UDPSocket is part of
diff --git a/net/udp/udp_socket_win.h b/net/udp/udp_socket_win.h
index a82860f..2185fbb 100644
--- a/net/udp/udp_socket_win.h
+++ b/net/udp/udp_socket_win.h
@@ -106,13 +106,13 @@ class NET_EXPORT UDPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe) {
const BoundNetLog& NetLog() const { return net_log_; }
// Sets corresponding flags in |socket_options_| to allow the socket
- // to share the local address to which socket will be bound with
+ // to share the local address to which the socket will be bound with
// other processes. Should be called before Bind().
void AllowAddressReuse();
// Sets corresponding flags in |socket_options_| to allow sending
- // and receiving packets sent to and from broadcast
- // addresses. Should be called before Bind().
+ // and receiving packets to and from broadcast addresses. Should be
+ // called before Bind().
void AllowBroadcast();
private:
@@ -183,8 +183,8 @@ class NET_EXPORT UDPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe) {
SOCKET socket_;
- // Bitwise-or'd combination of SocketOptions. Specifies set of
- // options that should be applied to |socket_| before bind.
+ // Bitwise-or'd combination of SocketOptions. Specifies the set of
+ // options that should be applied to |socket_| before Bind().
int socket_options_;
// How to do source port binding, used only when UDPSocket is part of