OLD | NEW |
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 "net/base/rand_callback.h" | 11 #include "net/base/rand_callback.h" |
11 #include "net/log/net_log.h" | 12 #include "net/log/net_log.h" |
12 #include "net/udp/datagram_client_socket.h" | 13 #include "net/udp/datagram_client_socket.h" |
13 #include "net/udp/udp_socket.h" | 14 #include "net/udp/udp_socket.h" |
14 | 15 |
15 namespace net { | 16 namespace net { |
16 | 17 |
17 class BoundNetLog; | 18 class BoundNetLog; |
18 | 19 |
19 // A client socket that uses UDP as the transport layer. | 20 // A client socket that uses UDP as the transport layer. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 52 |
52 private: | 53 private: |
53 UDPSocket socket_; | 54 UDPSocket socket_; |
54 NetworkChangeNotifier::NetworkHandle network_; | 55 NetworkChangeNotifier::NetworkHandle network_; |
55 DISALLOW_COPY_AND_ASSIGN(UDPClientSocket); | 56 DISALLOW_COPY_AND_ASSIGN(UDPClientSocket); |
56 }; | 57 }; |
57 | 58 |
58 } // namespace net | 59 } // namespace net |
59 | 60 |
60 #endif // NET_SOCKET_UDP_CLIENT_SOCKET_H_ | 61 #endif // NET_SOCKET_UDP_CLIENT_SOCKET_H_ |
OLD | NEW |