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

Side by Side Diff: net/udp/udp_server_socket.h

Issue 185293014: Bind before sandbox lockdown on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/udp/datagram_server_socket.h ('k') | net/udp/udp_server_socket.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_SOCKET_UDP_SERVER_SOCKET_H_ 5 #ifndef NET_SOCKET_UDP_SERVER_SOCKET_H_
6 #define NET_SOCKET_UDP_SERVER_SOCKET_H_ 6 #define NET_SOCKET_UDP_SERVER_SOCKET_H_
7 7
8 #include "net/base/completion_callback.h" 8 #include "net/base/completion_callback.h"
9 #include "net/base/net_util.h" 9 #include "net/base/net_util.h"
10 #include "net/udp/datagram_server_socket.h" 10 #include "net/udp/datagram_server_socket.h"
(...skipping 27 matching lines...) Expand all
38 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; 38 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE;
39 virtual const BoundNetLog& NetLog() const OVERRIDE; 39 virtual const BoundNetLog& NetLog() const OVERRIDE;
40 virtual void AllowAddressReuse() OVERRIDE; 40 virtual void AllowAddressReuse() OVERRIDE;
41 virtual void AllowBroadcast() OVERRIDE; 41 virtual void AllowBroadcast() OVERRIDE;
42 virtual int JoinGroup(const IPAddressNumber& group_address) const OVERRIDE; 42 virtual int JoinGroup(const IPAddressNumber& group_address) const OVERRIDE;
43 virtual int LeaveGroup(const IPAddressNumber& group_address) const OVERRIDE; 43 virtual int LeaveGroup(const IPAddressNumber& group_address) const OVERRIDE;
44 virtual int SetMulticastInterface(uint32 interface_index) OVERRIDE; 44 virtual int SetMulticastInterface(uint32 interface_index) OVERRIDE;
45 virtual int SetMulticastTimeToLive(int time_to_live) OVERRIDE; 45 virtual int SetMulticastTimeToLive(int time_to_live) OVERRIDE;
46 virtual int SetMulticastLoopbackMode(bool loopback) OVERRIDE; 46 virtual int SetMulticastLoopbackMode(bool loopback) OVERRIDE;
47 virtual int SetDiffServCodePoint(DiffServCodePoint dscp) OVERRIDE; 47 virtual int SetDiffServCodePoint(DiffServCodePoint dscp) OVERRIDE;
48 virtual void DetachFromThread() OVERRIDE;
48 49
49 private: 50 private:
50 UDPSocket socket_; 51 UDPSocket socket_;
51 DISALLOW_COPY_AND_ASSIGN(UDPServerSocket); 52 DISALLOW_COPY_AND_ASSIGN(UDPServerSocket);
52 }; 53 };
53 54
54 } // namespace net 55 } // namespace net
55 56
56 #endif // NET_SOCKET_UDP_SERVER_SOCKET_H_ 57 #endif // NET_SOCKET_UDP_SERVER_SOCKET_H_
OLDNEW
« no previous file with comments | « net/udp/datagram_server_socket.h ('k') | net/udp/udp_server_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698