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

Unified Diff: content/browser/renderer_host/p2p/socket_host_udp_unittest.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
« no previous file with comments | « no previous file | net/dns/address_sorter_posix_unittest.cc » ('j') | net/udp/datagram_socket.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
diff --git a/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc b/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
index f01e1e40c7c4aef6d2192c20c855340c217fecc5..b0f397bc4db53c880def39a6a0d21b86c9491b06 100644
--- a/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
+++ b/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
@@ -113,6 +113,8 @@ class FakeDatagramServerSocket : public net::DatagramServerSocket {
int SetSendBufferSize(int32_t size) override { return net::OK; }
+ int SetDoNotFragment() override { return net::OK; }
+
void ReceivePacket(const net::IPEndPoint& address, std::vector<char> data) {
if (!recv_callback_.is_null()) {
int size = std::min(recv_size_, static_cast<int>(data.size()));
« no previous file with comments | « no previous file | net/dns/address_sorter_posix_unittest.cc » ('j') | net/udp/datagram_socket.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698