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

Unified Diff: net/udp/datagram_socket.h

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/socket/socket_test_util.cc ('k') | net/udp/udp_client_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/udp/datagram_socket.h
diff --git a/net/udp/datagram_socket.h b/net/udp/datagram_socket.h
index f0e9fa10baa7fb181b9b2cc6810459c6c31359d6..c6c352a18c4e2591811f9530be57a3fa6482000c 100644
--- a/net/udp/datagram_socket.h
+++ b/net/udp/datagram_socket.h
@@ -25,7 +25,7 @@ class NET_EXPORT_PRIVATE DatagramSocket {
virtual ~DatagramSocket() {}
// Close the socket.
- virtual void Close() = 0;
+ virtual int Close() = 0;
// Copy the remote udp address into |address| and return a network error code.
virtual int GetPeerAddress(IPEndPoint* address) const = 0;
« no previous file with comments | « net/socket/socket_test_util.cc ('k') | net/udp/udp_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698