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

Unified Diff: blimp/net/test_common.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: 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
« no previous file with comments | « no previous file | jingle/glue/fake_ssl_client_socket.h » ('j') | net/socket/tcp_client_socket.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/test_common.h
diff --git a/blimp/net/test_common.h b/blimp/net/test_common.h
index c726feba5a8c2645cf72d5f2d4e59f95fba64786..da158baf5c35ac525c1a77c88c74709cf35782ee 100644
--- a/blimp/net/test_common.h
+++ b/blimp/net/test_common.h
@@ -111,6 +111,7 @@ class MockStreamSocket : public net::StreamSocket {
MOCK_METHOD3(Write, int(net::IOBuffer*, int, const net::CompletionCallback&));
MOCK_METHOD1(SetReceiveBufferSize, int(int32_t));
MOCK_METHOD1(SetSendBufferSize, int(int32_t));
+ MOCK_METHOD1(SetDoNotFragment, int(bool));
MOCK_METHOD1(Connect, int(const net::CompletionCallback&));
MOCK_METHOD0(Disconnect, void());
MOCK_CONST_METHOD0(IsConnected, bool());
« no previous file with comments | « no previous file | jingle/glue/fake_ssl_client_socket.h » ('j') | net/socket/tcp_client_socket.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698