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

Unified Diff: net/udp/udp_server_socket.h

Issue 10739002: Added broadcasting feature to UDP server sockets. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added MacOS specific code. Created 8 years, 5 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: net/udp/udp_server_socket.h
diff --git a/net/udp/udp_server_socket.h b/net/udp/udp_server_socket.h
index 89acb4fbf71708214999290e9f02ea0b16a5b416..1cb8c255fb75529cff6791219320ae124a7ed627 100644
--- a/net/udp/udp_server_socket.h
+++ b/net/udp/udp_server_socket.h
@@ -38,6 +38,7 @@ class NET_EXPORT UDPServerSocket : public DatagramServerSocket {
virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE;
virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE;
virtual const BoundNetLog& NetLog() const OVERRIDE;
+ virtual void AllowBroadcast() OVERRIDE;
private:
UDPSocket socket_;

Powered by Google App Engine
This is Rietveld 408576698