| Index: net/quic/quic_server_id.h
|
| diff --git a/net/quic/quic_server_id.h b/net/quic/quic_server_id.h
|
| index 609c3b7d6e87ac915352d7d1495b2c2eeddd994a..97dbebbb49aa7bf223c376b80d981fbcbaab8e81 100644
|
| --- a/net/quic/quic_server_id.h
|
| +++ b/net/quic/quic_server_id.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef NET_QUIC_QUIC_SERVER_ID_H_
|
| #define NET_QUIC_QUIC_SERVER_ID_H_
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <string>
|
|
|
| #include "net/base/host_port_pair.h"
|
| @@ -19,8 +21,10 @@ class NET_EXPORT_PRIVATE QuicServerId {
|
| public:
|
| QuicServerId();
|
| QuicServerId(const HostPortPair& host_port_pair, PrivacyMode privacy_mode);
|
| - QuicServerId(const std::string& host, uint16 port);
|
| - QuicServerId(const std::string& host, uint16 port, PrivacyMode privacy_mode);
|
| + QuicServerId(const std::string& host, uint16_t port);
|
| + QuicServerId(const std::string& host,
|
| + uint16_t port,
|
| + PrivacyMode privacy_mode);
|
| ~QuicServerId();
|
|
|
| // Needed to be an element of std::set.
|
| @@ -40,7 +44,7 @@ class NET_EXPORT_PRIVATE QuicServerId {
|
|
|
| const std::string& host() const { return host_port_pair_.host(); }
|
|
|
| - uint16 port() const { return host_port_pair_.port(); }
|
| + uint16_t port() const { return host_port_pair_.port(); }
|
|
|
| PrivacyMode privacy_mode() const { return privacy_mode_; }
|
|
|
|
|