OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_QUIC_QUIC_SOCKET_ADDRESS_CODER_H_ | 5 #ifndef NET_QUIC_CORE_QUIC_SOCKET_ADDRESS_CODER_H_ |
6 #define NET_QUIC_QUIC_SOCKET_ADDRESS_CODER_H_ | 6 #define NET_QUIC_CORE_QUIC_SOCKET_ADDRESS_CODER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
15 #include "net/quic/platform/api/quic_socket_address.h" | 15 #include "net/quic/platform/api/quic_socket_address.h" |
16 | 16 |
(...skipping 17 matching lines...) Expand all Loading... |
34 uint16_t port() const { return address_.port(); } | 34 uint16_t port() const { return address_.port(); } |
35 | 35 |
36 private: | 36 private: |
37 QuicSocketAddress address_; | 37 QuicSocketAddress address_; |
38 | 38 |
39 DISALLOW_COPY_AND_ASSIGN(QuicSocketAddressCoder); | 39 DISALLOW_COPY_AND_ASSIGN(QuicSocketAddressCoder); |
40 }; | 40 }; |
41 | 41 |
42 } // namespace net | 42 } // namespace net |
43 | 43 |
44 #endif // NET_QUIC_QUIC_SOCKET_ADDRESS_CODER_H_ | 44 #endif // NET_QUIC_CORE_QUIC_SOCKET_ADDRESS_CODER_H_ |
OLD | NEW |