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

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

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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/host_mapping_rules.h ('k') | net/base/io_buffer.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) 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_HOST_PORT_PAIR_H_ 5 #ifndef NET_BASE_HOST_PORT_PAIR_H_
6 #define NET_BASE_HOST_PORT_PAIR_H_ 6 #define NET_BASE_HOST_PORT_PAIR_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 #include <tuple> 11 #include <tuple>
10 12
11 #include "base/basictypes.h"
12 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
13 14
14 class GURL; 15 class GURL;
15 16
16 namespace net { 17 namespace net {
17 18
18 class IPEndPoint; 19 class IPEndPoint;
19 20
20 class NET_EXPORT HostPortPair { 21 class NET_EXPORT HostPortPair {
21 public: 22 public:
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 private: 71 private:
71 // If |host_| represents an IPv6 address, this string will not contain 72 // If |host_| represents an IPv6 address, this string will not contain
72 // brackets around the address. 73 // brackets around the address.
73 std::string host_; 74 std::string host_;
74 uint16_t port_; 75 uint16_t port_;
75 }; 76 };
76 77
77 } // namespace net 78 } // namespace net
78 79
79 #endif // NET_BASE_HOST_PORT_PAIR_H_ 80 #endif // NET_BASE_HOST_PORT_PAIR_H_
OLDNEW
« no previous file with comments | « net/base/host_mapping_rules.h ('k') | net/base/io_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698