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

Side by Side Diff: net/socket/datagram_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/client_socket_pool_base_unittest.cc ('k') | net/socket/datagram_server_socket.h » ('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_UDP_DATAGRAM_CLIENT_SOCKET_H_ 5 #ifndef NET_SOCKET_DATAGRAM_CLIENT_SOCKET_H_
6 #define NET_UDP_DATAGRAM_CLIENT_SOCKET_H_ 6 #define NET_SOCKET_DATAGRAM_CLIENT_SOCKET_H_
7 7
8 #include "net/base/net_export.h" 8 #include "net/base/net_export.h"
9 #include "net/base/network_change_notifier.h" 9 #include "net/base/network_change_notifier.h"
10 #include "net/socket/datagram_socket.h"
10 #include "net/socket/socket.h" 11 #include "net/socket/socket.h"
11 #include "net/udp/datagram_socket.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 class IPEndPoint; 15 class IPEndPoint;
16 16
17 class NET_EXPORT_PRIVATE DatagramClientSocket : public DatagramSocket, 17 class NET_EXPORT_PRIVATE DatagramClientSocket : public DatagramSocket,
18 public Socket { 18 public Socket {
19 public: 19 public:
20 ~DatagramClientSocket() override {} 20 ~DatagramClientSocket() override {}
21 21
(...skipping 16 matching lines...) Expand all
38 // Returns the network that either ConnectUsingNetwork() or 38 // Returns the network that either ConnectUsingNetwork() or
39 // ConnectUsingDefaultNetwork() bound this socket to. Returns 39 // ConnectUsingDefaultNetwork() bound this socket to. Returns
40 // NetworkChangeNotifier::kInvalidNetworkHandle if not explicitly bound via 40 // NetworkChangeNotifier::kInvalidNetworkHandle if not explicitly bound via
41 // ConnectUsingNetwork() or ConnectUsingDefaultNetwork(). 41 // ConnectUsingNetwork() or ConnectUsingDefaultNetwork().
42 virtual NetworkChangeNotifier::NetworkHandle GetBoundNetwork() const = 0; 42 virtual NetworkChangeNotifier::NetworkHandle GetBoundNetwork() const = 0;
43 43
44 }; 44 };
45 45
46 } // namespace net 46 } // namespace net
47 47
48 #endif // NET_UDP_DATAGRAM_CLIENT_SOCKET_H_ 48 #endif // NET_SOCKET_DATAGRAM_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/socket/client_socket_pool_base_unittest.cc ('k') | net/socket/datagram_server_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698