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

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

Issue 2508593002: net: move udp directory into socket (Closed)
Patch Set: revert sys/socket.h change Created 4 years, 1 month 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
« no previous file with comments | « net/socket/udp_net_log_parameters.cc ('k') | net/socket/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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "net/base/completion_callback.h" 11 #include "net/base/completion_callback.h"
12 #include "net/base/net_export.h" 12 #include "net/base/net_export.h"
13 #include "net/udp/datagram_server_socket.h" 13 #include "net/socket/datagram_server_socket.h"
14 #include "net/udp/udp_socket.h" 14 #include "net/socket/udp_socket.h"
15 15
16 namespace net { 16 namespace net {
17 17
18 class IPAddress; 18 class IPAddress;
19 class IPEndPoint; 19 class IPEndPoint;
20 class NetLog; 20 class NetLog;
21 struct NetLogSource; 21 struct NetLogSource;
22 22
23 // A client socket that uses UDP as the transport layer. 23 // A client socket that uses UDP as the transport layer.
24 class NET_EXPORT UDPServerSocket : public DatagramServerSocket { 24 class NET_EXPORT UDPServerSocket : public DatagramServerSocket {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 private: 57 private:
58 UDPSocket socket_; 58 UDPSocket socket_;
59 bool allow_address_reuse_; 59 bool allow_address_reuse_;
60 bool allow_broadcast_; 60 bool allow_broadcast_;
61 DISALLOW_COPY_AND_ASSIGN(UDPServerSocket); 61 DISALLOW_COPY_AND_ASSIGN(UDPServerSocket);
62 }; 62 };
63 63
64 } // namespace net 64 } // namespace net
65 65
66 #endif // NET_SOCKET_UDP_SERVER_SOCKET_H_ 66 #endif // NET_SOCKET_UDP_SERVER_SOCKET_H_
OLDNEW
« no previous file with comments | « net/socket/udp_net_log_parameters.cc ('k') | net/socket/udp_server_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698