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

Unified Diff: net/udp/fuzzed_datagram_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: 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/udp/fuzzed_datagram_client_socket.h ('k') | net/udp/udp_client_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/udp/fuzzed_datagram_client_socket.cc
diff --git a/net/udp/fuzzed_datagram_client_socket.cc b/net/udp/fuzzed_datagram_client_socket.cc
index 1619e0e66818d684c1a994d9c27cc72199b2d21c..e1dbcc2c30241b5cac7eae7122ff15d0be1f5f66 100644
--- a/net/udp/fuzzed_datagram_client_socket.cc
+++ b/net/udp/fuzzed_datagram_client_socket.cc
@@ -169,6 +169,10 @@ int FuzzedDatagramClientSocket::SetSendBufferSize(int32_t size) {
return OK;
}
+int FuzzedDatagramClientSocket::SetDoNotFragment() {
+ return OK;
+}
+
void FuzzedDatagramClientSocket::OnReadComplete(
const net::CompletionCallback& callback,
int result) {
« no previous file with comments | « net/udp/fuzzed_datagram_client_socket.h ('k') | net/udp/udp_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698