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

Unified Diff: net/udp/udp_client_socket.cc

Issue 2235973002: Add a SetDoNotFragment() method to DatagramSocket, and call this for (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Blimp Created 4 years, 4 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: net/udp/udp_client_socket.cc
diff --git a/net/udp/udp_client_socket.cc b/net/udp/udp_client_socket.cc
index 7c3a2722a17de6445d222899d3d413e04419beaa..ea855af4d168db9092af1aaad0e99822151e8029 100644
--- a/net/udp/udp_client_socket.cc
+++ b/net/udp/udp_client_socket.cc
@@ -109,6 +109,10 @@ int UDPClientSocket::SetSendBufferSize(int32_t size) {
return socket_.SetSendBufferSize(size);
}
+int UDPClientSocket::SetDoNotFragment(bool do_not_fragment) {
+ return socket_.SetDoNotFragment(do_not_fragment);
+}
+
const BoundNetLog& UDPClientSocket::NetLog() const {
return socket_.NetLog();
}

Powered by Google App Engine
This is Rietveld 408576698