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

Unified Diff: net/dns/address_sorter_posix_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: Blimp 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/dns/address_sorter_posix_unittest.cc
diff --git a/net/dns/address_sorter_posix_unittest.cc b/net/dns/address_sorter_posix_unittest.cc
index 997ac483dcda191561c8484a66d9cdda57d935cf..64c216f26dc9cd1f08cdf8f5604416e9c6a53eff 100644
--- a/net/dns/address_sorter_posix_unittest.cc
+++ b/net/dns/address_sorter_posix_unittest.cc
@@ -47,6 +47,7 @@ class TestUDPClientSocket : public DatagramClientSocket {
}
int SetReceiveBufferSize(int32_t) override { return OK; }
int SetSendBufferSize(int32_t) override { return OK; }
+ int SetDoNotFragment(bool do_not_fragment) override { return OK; }
void Close() override {}
int GetPeerAddress(IPEndPoint* address) const override {

Powered by Google App Engine
This is Rietveld 408576698