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

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: Fix !$ 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/socket/socket_test_util.cc
diff --git a/net/socket/socket_test_util.cc b/net/socket/socket_test_util.cc
index ff3af38315b154dfc1c00aa6168c1ecc8f6c894e..d0747fa8b2655b0543c8632a5b2f70c07cc1c6e0 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;
}

Powered by Google App Engine
This is Rietveld 408576698