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

Side by Side Diff: net/base/ip_endpoint.h

Issue 1162973005: Stop including ip_address_number.h from net_util.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove some header sorting changes, seems to be breaking windows Created 5 years, 6 months 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/base/ip_address_number.h ('k') | net/base/ip_endpoint.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_BASE_IP_ENDPOINT_H_ 5 #ifndef NET_BASE_IP_ENDPOINT_H_
6 #define NET_BASE_IP_ENDPOINT_H_ 6 #define NET_BASE_IP_ENDPOINT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "net/base/address_family.h" 12 #include "net/base/address_family.h"
13 #include "net/base/ip_address_number.h"
13 #include "net/base/net_export.h" 14 #include "net/base/net_export.h"
14 #include "net/base/net_util.h" 15 #include "net/base/sys_addrinfo.h"
15 16
16 struct sockaddr; 17 struct sockaddr;
17 18
18 namespace net { 19 namespace net {
19 20
20 // An IPEndPoint represents the address of a transport endpoint: 21 // An IPEndPoint represents the address of a transport endpoint:
21 // * IP address (either v4 or v6) 22 // * IP address (either v4 or v6)
22 // * Port 23 // * Port
23 class NET_EXPORT IPEndPoint { 24 class NET_EXPORT IPEndPoint {
24 public: 25 public:
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 bool operator==(const IPEndPoint& that) const; 65 bool operator==(const IPEndPoint& that) const;
65 66
66 private: 67 private:
67 IPAddressNumber address_; 68 IPAddressNumber address_;
68 uint16 port_; 69 uint16 port_;
69 }; 70 };
70 71
71 } // namespace net 72 } // namespace net
72 73
73 #endif // NET_BASE_IP_ENDPOINT_H_ 74 #endif // NET_BASE_IP_ENDPOINT_H_
OLDNEW
« no previous file with comments | « net/base/ip_address_number.h ('k') | net/base/ip_endpoint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698