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

Unified Diff: net/udp/udp_server_socket.cc

Issue 914853002: Add CHECK() in UdpSocketLibevent to debug crbug.com/452121 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « net/udp/udp_server_socket.h ('k') | net/udp/udp_socket_libevent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/udp/udp_server_socket.cc
diff --git a/net/udp/udp_server_socket.cc b/net/udp/udp_server_socket.cc
index 9fc92df0659e4a6a3487fb5ab387c9ea05d653e3..eccbb11f89915eaf92f62195757bc656640a3260 100644
--- a/net/udp/udp_server_socket.cc
+++ b/net/udp/udp_server_socket.cc
@@ -68,8 +68,8 @@ int UDPServerSocket::SetSendBufferSize(int32 size) {
return socket_.SetSendBufferSize(size);
}
-void UDPServerSocket::Close() {
- socket_.Close();
+int UDPServerSocket::Close() {
+ return socket_.Close();
}
int UDPServerSocket::GetPeerAddress(IPEndPoint* address) const {
« no previous file with comments | « net/udp/udp_server_socket.h ('k') | net/udp/udp_socket_libevent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698