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

Side by Side Diff: net/quic/core/quic_versions.h

Issue 2517603003: Moves QuicTag typedefs, and QuicTag utility methods to quic_tag.{h,cc}. No behavior change. (Closed)
Patch Set: Created 4 years, 1 month 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/quic/core/quic_utils_test.cc ('k') | net/quic/core/quic_versions.cc » ('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_QUIC_QUIC_VERSIONS_H_ 5 #ifndef NET_QUIC_QUIC_VERSIONS_H_
6 #define NET_QUIC_QUIC_VERSIONS_H_ 6 #define NET_QUIC_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_types.h" 12 #include "net/quic/core/quic_types.h"
12 13
13 namespace net { 14 namespace net {
14 15
15 // 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
16 // will match the version number. 17 // will match the version number.
17 // When adding a new version to this enum you should add it to 18 // When adding a new version to this enum you should add it to
18 // kSupportedQuicVersions (if appropriate), and also add a new case to the 19 // kSupportedQuicVersions (if appropriate), and also add a new case to the
19 // helper methods QuicVersionToQuicTag, QuicTagToQuicVersion, and 20 // helper methods QuicVersionToQuicTag, QuicTagToQuicVersion, and
20 // QuicVersionToString. 21 // QuicVersionToString.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 NET_EXPORT_PRIVATE std::string QuicVersionToString(const QuicVersion version); 76 NET_EXPORT_PRIVATE std::string QuicVersionToString(const QuicVersion version);
76 77
77 // Returns comma separated list of string representations of QuicVersion enum 78 // Returns comma separated list of string representations of QuicVersion enum
78 // values in the supplied |versions| vector. 79 // values in the supplied |versions| vector.
79 NET_EXPORT_PRIVATE std::string QuicVersionVectorToString( 80 NET_EXPORT_PRIVATE std::string QuicVersionVectorToString(
80 const QuicVersionVector& versions); 81 const QuicVersionVector& versions);
81 82
82 } // namespace net 83 } // namespace net
83 84
84 #endif // NET_QUIC_QUIC_VERSIONS_H_ 85 #endif // NET_QUIC_QUIC_VERSIONS_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_utils_test.cc ('k') | net/quic/core/quic_versions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698