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

Unified Diff: net/dns/address_sorter_posix_unittest.cc

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: Original CL, as was submitted, and previously reverted 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/address_sorter_posix_unittest.cc
diff --git a/net/dns/address_sorter_posix_unittest.cc b/net/dns/address_sorter_posix_unittest.cc
index c45173799579d129c64103d32520cebf0fc1ce38..dea7ade0fea9a559d88f1d6bba06322e3e1333e2 100644
--- a/net/dns/address_sorter_posix_unittest.cc
+++ b/net/dns/address_sorter_posix_unittest.cc
@@ -43,11 +43,11 @@ class TestUDPClientSocket : public DatagramClientSocket {
NOTIMPLEMENTED();
return OK;
}
- virtual bool SetReceiveBufferSize(int32) OVERRIDE {
- return true;
+ virtual int SetReceiveBufferSize(int32) OVERRIDE {
+ return OK;
}
- virtual bool SetSendBufferSize(int32) OVERRIDE {
- return true;
+ virtual int SetSendBufferSize(int32) OVERRIDE {
+ return OK;
}
virtual void Close() OVERRIDE {}

Powered by Google App Engine
This is Rietveld 408576698