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

Unified Diff: net/socket/socket_test_util.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: Rebase 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
« no previous file with comments | « net/socket/socket_test_util.h ('k') | net/udp/datagram_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket_test_util.cc
diff --git a/net/socket/socket_test_util.cc b/net/socket/socket_test_util.cc
index 58c1d2104adaab66ab3861b29f944565142c096c..2ca14e2ab66560f8bbda0b8376c0fdc76784e3e6 100644
--- a/net/socket/socket_test_util.cc
+++ b/net/socket/socket_test_util.cc
@@ -1331,6 +1331,10 @@ int MockUDPClientSocket::SetSendBufferSize(int32_t size) {
return OK;
}
+int MockUDPClientSocket::SetDoNotFragment() {
+ return OK;
+}
+
void MockUDPClientSocket::Close() {
connected_ = false;
}
« no previous file with comments | « net/socket/socket_test_util.h ('k') | net/udp/datagram_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698