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

Unified Diff: content/browser/renderer_host/p2p/socket_host_udp_unittest.cc

Issue 217573002: make SetReceiveBufferSize and SetSendBufferSize return net error codes (instead of bools) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo on Linux Created 6 years, 9 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: content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
diff --git a/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc b/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
index 27e74a57944afeab0f2857a62c219202714603b3..6235cb07d9fcc493bcfa52bac3aba36ca69f3741 100644
--- a/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
+++ b/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
@@ -94,12 +94,12 @@ class FakeDatagramServerSocket : public net::DatagramServerSocket {
return buf_len;
}
- virtual bool SetReceiveBufferSize(int32 size) OVERRIDE {
- return true;
+ virtual int SetReceiveBufferSize(int32 size) OVERRIDE {
+ return net::OK;
}
- virtual bool SetSendBufferSize(int32 size) OVERRIDE {
- return true;
+ virtual int SetSendBufferSize(int32 size) OVERRIDE {
+ return net::OK;
}
void ReceivePacket(const net::IPEndPoint& address, std::vector<char> data) {

Powered by Google App Engine
This is Rietveld 408576698