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_UDP_DATAGRAM_CLIENT_SOCKET_H_ | 5 #ifndef NET_UDP_DATAGRAM_CLIENT_SOCKET_H_ |
6 #define NET_UDP_DATAGRAM_CLIENT_SOCKET_H_ | 6 #define NET_UDP_DATAGRAM_CLIENT_SOCKET_H_ |
7 | 7 |
| 8 #include "net/base/net_export.h" |
8 #include "net/base/network_change_notifier.h" | 9 #include "net/base/network_change_notifier.h" |
9 #include "net/socket/socket.h" | 10 #include "net/socket/socket.h" |
10 #include "net/udp/datagram_socket.h" | 11 #include "net/udp/datagram_socket.h" |
11 | 12 |
12 namespace net { | 13 namespace net { |
13 | 14 |
14 class IPEndPoint; | 15 class IPEndPoint; |
15 | 16 |
16 class NET_EXPORT_PRIVATE DatagramClientSocket : public DatagramSocket, | 17 class NET_EXPORT_PRIVATE DatagramClientSocket : public DatagramSocket, |
17 public Socket { | 18 public Socket { |
(...skipping 20 matching lines...) Expand all Loading... |
38 // ConnectUsingDefaultNetwork() bound this socket to. Returns | 39 // ConnectUsingDefaultNetwork() bound this socket to. Returns |
39 // NetworkChangeNotifier::kInvalidNetworkHandle if not explicitly bound via | 40 // NetworkChangeNotifier::kInvalidNetworkHandle if not explicitly bound via |
40 // ConnectUsingNetwork() or ConnectUsingDefaultNetwork(). | 41 // ConnectUsingNetwork() or ConnectUsingDefaultNetwork(). |
41 virtual NetworkChangeNotifier::NetworkHandle GetBoundNetwork() const = 0; | 42 virtual NetworkChangeNotifier::NetworkHandle GetBoundNetwork() const = 0; |
42 | 43 |
43 }; | 44 }; |
44 | 45 |
45 } // namespace net | 46 } // namespace net |
46 | 47 |
47 #endif // NET_UDP_DATAGRAM_CLIENT_SOCKET_H_ | 48 #endif // NET_UDP_DATAGRAM_CLIENT_SOCKET_H_ |
OLD | NEW |