Index: net/socket/socket_test_util.cc |
diff --git a/net/socket/socket_test_util.cc b/net/socket/socket_test_util.cc |
index f1456f8c78c1e6c4845b54235f9e8f8b55a82c89..3e7554edb5fef898cffa414527c5cce5f8163675 100644 |
--- a/net/socket/socket_test_util.cc |
+++ b/net/socket/socket_test_util.cc |
@@ -713,12 +713,12 @@ MockClientSocket::MockClientSocket(const BoundNetLog& net_log) |
peer_addr_ = IPEndPoint(ip, 0); |
} |
-bool MockClientSocket::SetReceiveBufferSize(int32 size) { |
- return true; |
+int MockClientSocket::SetReceiveBufferSize(int32 size) { |
+ return OK; |
} |
-bool MockClientSocket::SetSendBufferSize(int32 size) { |
- return true; |
+int MockClientSocket::SetSendBufferSize(int32 size) { |
+ return OK; |
} |
void MockClientSocket::Disconnect() { |
@@ -1162,12 +1162,12 @@ int DeterministicMockUDPClientSocket::Read( |
return helper_.Read(buf, buf_len, callback); |
} |
-bool DeterministicMockUDPClientSocket::SetReceiveBufferSize(int32 size) { |
- return true; |
+int DeterministicMockUDPClientSocket::SetReceiveBufferSize(int32 size) { |
+ return OK; |
} |
-bool DeterministicMockUDPClientSocket::SetSendBufferSize(int32 size) { |
- return true; |
+int DeterministicMockUDPClientSocket::SetSendBufferSize(int32 size) { |
+ return OK; |
} |
void DeterministicMockUDPClientSocket::Close() { |
@@ -1508,12 +1508,12 @@ int MockUDPClientSocket::Write(IOBuffer* buf, int buf_len, |
return write_result.result; |
} |
-bool MockUDPClientSocket::SetReceiveBufferSize(int32 size) { |
- return true; |
+int MockUDPClientSocket::SetReceiveBufferSize(int32 size) { |
+ return OK; |
} |
-bool MockUDPClientSocket::SetSendBufferSize(int32 size) { |
- return true; |
+int MockUDPClientSocket::SetSendBufferSize(int32 size) { |
+ return OK; |
} |
void MockUDPClientSocket::Close() { |