OLD | NEW |
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 <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/basictypes.h" | |
11 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
12 #include "net/base/address_family.h" | 13 #include "net/base/address_family.h" |
13 #include "net/base/ip_address_number.h" | 14 #include "net/base/ip_address_number.h" |
14 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
15 #include "net/base/sys_addrinfo.h" | 16 #include "net/base/sys_addrinfo.h" |
16 | 17 |
17 struct sockaddr; | 18 struct sockaddr; |
18 | 19 |
19 namespace net { | 20 namespace net { |
20 | 21 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 bool operator==(const IPEndPoint& that) const; | 66 bool operator==(const IPEndPoint& that) const; |
66 | 67 |
67 private: | 68 private: |
68 IPAddressNumber address_; | 69 IPAddressNumber address_; |
69 uint16_t port_; | 70 uint16_t port_; |
70 }; | 71 }; |
71 | 72 |
72 } // namespace net | 73 } // namespace net |
73 | 74 |
74 #endif // NET_BASE_IP_ENDPOINT_H_ | 75 #endif // NET_BASE_IP_ENDPOINT_H_ |
OLD | NEW |