diff options
author | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-02 23:18:28 +0000 |
---|---|---|
committer | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-02 23:18:28 +0000 |
commit | fcdcc46b414e405ab7192019af931f86ed6612f4 (patch) | |
tree | 08d96b3b614cd4292ac5d49bdaad3bbfc655b93d /net/udp | |
parent | 043aa5a5482d302b56b4a0a2ca80b61e9f3d7ad7 (diff) | |
download | chromium_src-fcdcc46b414e405ab7192019af931f86ed6612f4.zip chromium_src-fcdcc46b414e405ab7192019af931f86ed6612f4.tar.gz chromium_src-fcdcc46b414e405ab7192019af931f86ed6612f4.tar.bz2 |
Fix clang build.
BUG=none
TEST=none
TBR=erg
Review URL: http://codereview.chromium.org/6588136
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76650 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/udp')
-rw-r--r-- | net/udp/udp_client_socket.cc | 7 | ||||
-rw-r--r-- | net/udp/udp_client_socket.h | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/net/udp/udp_client_socket.cc b/net/udp/udp_client_socket.cc index 5cc498d..cdbf756 100644 --- a/net/udp/udp_client_socket.cc +++ b/net/udp/udp_client_socket.cc @@ -45,5 +45,12 @@ int UDPClientSocket::GetLocalAddress(AddressList* address) const { return socket_.GetLocalAddress(address); } +bool UDPClientSocket::SetReceiveBufferSize(int32 size) { + return true; +} + +bool UDPClientSocket::SetSendBufferSize(int32 size) { + return true; +} } // namespace net diff --git a/net/udp/udp_client_socket.h b/net/udp/udp_client_socket.h index 8ba07e5..602d09b 100644 --- a/net/udp/udp_client_socket.h +++ b/net/udp/udp_client_socket.h @@ -28,8 +28,8 @@ class UDPClientSocket : public DatagramClientSocket { virtual void Close(); virtual int GetPeerAddress(AddressList* address) const; virtual int GetLocalAddress(AddressList* address) const; - virtual bool SetReceiveBufferSize(int32 size) { return true; } - virtual bool SetSendBufferSize(int32 size) { return true; } + virtual bool SetReceiveBufferSize(int32 size); + virtual bool SetSendBufferSize(int32 size); private: UDPSocket socket_; |