modify wording for comment of SetDoNotFragment()
to Remove the duplicate "returns a" R=rch Bug: None Change-Id: Idce61686e68c28c079e1c2f001fabd581edd8fb1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3357155 Reviewed-by: Ryan Hamilton <rch@chromium.org> Commit-Queue: Ryan Hamilton <rch@chromium.org> Cr-Commit-Position: refs/heads/main@{#969548}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
dd7d5d125a
commit
3f916b8306
1
AUTHORS
1
AUTHORS
@ -813,6 +813,7 @@ Mohammad Azam <m.azam@samsung.com>
|
||||
Mohammed Wajahat Ali Siddiqui <wajahat.s@samsung.com>
|
||||
Mohan Reddy <mohan.reddy@samsung.com>
|
||||
Mohit Bhalla <bhallam@amazon.com>
|
||||
Momoka Yamamoto <momoka.my6@gmail.com>
|
||||
Momoko Hattori <momohatt10@gmail.com>
|
||||
Mostafa Sedaghat joo <mostafa.sedaghat@gmail.com>
|
||||
Mrunal Kapade <mrunal.kapade@intel.com>
|
||||
|
@ -40,8 +40,8 @@ class NET_EXPORT_PRIVATE DatagramSocket {
|
||||
|
||||
// Requests that packets sent by this socket not be fragment, either locally
|
||||
// by the host, or by routers (via the DF bit in the IPv4 packet header).
|
||||
// May not be supported by all platforms. Returns a return a network error
|
||||
// code if there was a problem, but the socket will still be usable. Can not
|
||||
// May not be supported by all platforms. Returns a network error code if
|
||||
// there was a problem, but the socket will still be usable. Can not
|
||||
// return ERR_IO_PENDING.
|
||||
virtual int SetDoNotFragment() = 0;
|
||||
|
||||
|
@ -257,8 +257,8 @@ class NET_EXPORT UDPSocketPosix {
|
||||
|
||||
// Requests that packets sent by this socket not be fragment, either locally
|
||||
// by the host, or by routers (via the DF bit in the IPv4 packet header).
|
||||
// May not be supported by all platforms. Returns a return a network error
|
||||
// code if there was a problem, but the socket will still be usable. Can not
|
||||
// May not be supported by all platforms. Returns a network error code if
|
||||
// there was a problem, but the socket will still be usable. Can not
|
||||
// return ERR_IO_PENDING.
|
||||
int SetDoNotFragment();
|
||||
|
||||
|
@ -256,8 +256,8 @@ class NET_EXPORT UDPSocketWin : public base::win::ObjectWatcher::Delegate {
|
||||
|
||||
// Requests that packets sent by this socket not be fragment, either locally
|
||||
// by the host, or by routers (via the DF bit in the IPv4 packet header).
|
||||
// May not be supported by all platforms. Returns a return a network error
|
||||
// code if there was a problem, but the socket will still be usable. Can not
|
||||
// May not be supported by all platforms. Returns a network error code if
|
||||
// there was a problem, but the socket will still be usable. Can not
|
||||
// return ERR_IO_PENDING.
|
||||
int SetDoNotFragment();
|
||||
|
||||
|
Reference in New Issue
Block a user