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

Unified Diff: net/dns/mock_mdns_socket_factory.h

Issue 227473008: make SetReceiveBufferSize and SetSendBufferSize return net error codes (instead of bools) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux typo Created 6 years, 8 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/mock_mdns_socket_factory.h
diff --git a/net/dns/mock_mdns_socket_factory.h b/net/dns/mock_mdns_socket_factory.h
index 04bb837ca628fe9ec10e33540647b9eaab1b8c7d..1ecc4be01d29a14fde8fa4483ec324c454b86447 100644
--- a/net/dns/mock_mdns_socket_factory.h
+++ b/net/dns/mock_mdns_socket_factory.h
@@ -33,8 +33,8 @@ class MockMDnsDatagramServerSocket : public DatagramServerSocket {
const std::string address,
const CompletionCallback& callback));
- MOCK_METHOD1(SetReceiveBufferSize, bool(int32 size));
- MOCK_METHOD1(SetSendBufferSize, bool(int32 size));
+ MOCK_METHOD1(SetReceiveBufferSize, int(int32 size));
+ MOCK_METHOD1(SetSendBufferSize, int(int32 size));
MOCK_METHOD0(Close, void());

Powered by Google App Engine
This is Rietveld 408576698