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

Side by Side Diff: net/socket/udp_client_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/transport_client_socket_pool_test_util.cc ('k') | net/socket/udp_client_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CLIENT_SOCKET_H_ 5 #ifndef NET_SOCKET_UDP_CLIENT_SOCKET_H_
6 #define NET_SOCKET_UDP_CLIENT_SOCKET_H_ 6 #define NET_SOCKET_UDP_CLIENT_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/net_export.h" 11 #include "net/base/net_export.h"
12 #include "net/base/rand_callback.h" 12 #include "net/base/rand_callback.h"
13 #include "net/udp/datagram_client_socket.h" 13 #include "net/socket/datagram_client_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 NetLog; 18 class NetLog;
19 struct NetLogSource; 19 struct NetLogSource;
20 20
21 // A client socket that uses UDP as the transport layer. 21 // A client socket that uses UDP as the transport layer.
22 class NET_EXPORT_PRIVATE UDPClientSocket : public DatagramClientSocket { 22 class NET_EXPORT_PRIVATE UDPClientSocket : public DatagramClientSocket {
23 public: 23 public:
24 UDPClientSocket(DatagramSocket::BindType bind_type, 24 UDPClientSocket(DatagramSocket::BindType bind_type,
(...skipping 27 matching lines...) Expand all
52 // before other calls. 52 // before other calls.
53 private: 53 private:
54 UDPSocket socket_; 54 UDPSocket socket_;
55 NetworkChangeNotifier::NetworkHandle network_; 55 NetworkChangeNotifier::NetworkHandle network_;
56 DISALLOW_COPY_AND_ASSIGN(UDPClientSocket); 56 DISALLOW_COPY_AND_ASSIGN(UDPClientSocket);
57 }; 57 };
58 58
59 } // namespace net 59 } // namespace net
60 60
61 #endif // NET_SOCKET_UDP_CLIENT_SOCKET_H_ 61 #endif // NET_SOCKET_UDP_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/socket/transport_client_socket_pool_test_util.cc ('k') | net/socket/udp_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698