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

Unified Diff: net/udp/fuzzed_datagram_client_socket.h

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/udp/fuzzed_datagram_client_socket.h
diff --git a/net/udp/fuzzed_datagram_client_socket.h b/net/udp/fuzzed_datagram_client_socket.h
index b92b39cba2fab311c64152fdfc0a433c89f73a59..02a027913bfeea64991f2ca467439215a64f8943 100644
--- a/net/udp/fuzzed_datagram_client_socket.h
+++ b/net/udp/fuzzed_datagram_client_socket.h
@@ -51,6 +51,7 @@ class FuzzedDatagramClientSocket : public DatagramClientSocket {
const CompletionCallback& callback) override;
int SetReceiveBufferSize(int32_t size) override;
int SetSendBufferSize(int32_t size) override;
+ int SetDoNotFragment() override;
private:
void OnReadComplete(const net::CompletionCallback& callback, int result);

Powered by Google App Engine
This is Rietveld 408576698