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_QUIC_QUIC_VERSIONS_H_ | 5 #ifndef NET_QUIC_CORE_QUIC_VERSIONS_H_ |
6 #define NET_QUIC_QUIC_VERSIONS_H_ | 6 #define NET_QUIC_CORE_QUIC_VERSIONS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "net/quic/core/quic_tag.h" | 11 #include "net/quic/core/quic_tag.h" |
12 #include "net/quic/core/quic_types.h" | 12 #include "net/quic/core/quic_types.h" |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 | 15 |
16 // The available versions of QUIC. Guaranteed that the integer value of the enum | 16 // The available versions of QUIC. Guaranteed that the integer value of the enum |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 // Returns strings corresponding to enum names (e.g. QUIC_VERSION_6). | 75 // Returns strings corresponding to enum names (e.g. QUIC_VERSION_6). |
76 NET_EXPORT_PRIVATE std::string QuicVersionToString(const QuicVersion version); | 76 NET_EXPORT_PRIVATE std::string QuicVersionToString(const QuicVersion version); |
77 | 77 |
78 // Returns comma separated list of string representations of QuicVersion enum | 78 // Returns comma separated list of string representations of QuicVersion enum |
79 // values in the supplied |versions| vector. | 79 // values in the supplied |versions| vector. |
80 NET_EXPORT_PRIVATE std::string QuicVersionVectorToString( | 80 NET_EXPORT_PRIVATE std::string QuicVersionVectorToString( |
81 const QuicVersionVector& versions); | 81 const QuicVersionVector& versions); |
82 | 82 |
83 } // namespace net | 83 } // namespace net |
84 | 84 |
85 #endif // NET_QUIC_QUIC_VERSIONS_H_ | 85 #endif // NET_QUIC_CORE_QUIC_VERSIONS_H_ |
OLD | NEW |