OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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_CORE_QUIC_VERSION_MANAGER_H_ | 5 #ifndef NET_QUIC_CORE_QUIC_VERSION_MANAGER_H_ |
6 #define NET_QUIC_CORE_QUIC_VERSION_MANAGER_H_ | 6 #define NET_QUIC_CORE_QUIC_VERSION_MANAGER_H_ |
7 | 7 |
8 #include "net/quic/core/quic_versions.h" | 8 #include "net/quic/core/quic_versions.h" |
9 #include "net/quic/platform/api/quic_export.h" | 9 #include "net/quic/platform/api/quic_export.h" |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 void MaybeRefilterSupportedVersions(); | 24 void MaybeRefilterSupportedVersions(); |
25 | 25 |
26 // Refilters filtered_supported_versions_. | 26 // Refilters filtered_supported_versions_. |
27 virtual void RefilterSupportedVersions(); | 27 virtual void RefilterSupportedVersions(); |
28 | 28 |
29 const QuicVersionVector& filtered_supported_versions() const { | 29 const QuicVersionVector& filtered_supported_versions() const { |
30 return filtered_supported_versions_; | 30 return filtered_supported_versions_; |
31 } | 31 } |
32 | 32 |
33 private: | 33 private: |
34 // FLAGS_quic_enable_version_38 | 34 // FLAGS_quic_enable_version_39 |
| 35 bool enable_version_39_; |
| 36 // FLAGS_quic_reloadable_flag_quic_enable_version_38 |
35 bool enable_version_38_; | 37 bool enable_version_38_; |
36 // FLAGS_quic_reloadable_flag_quic_enable_version_37 | 38 // FLAGS_quic_reloadable_flag_quic_enable_version_37 |
37 bool enable_version_37_; | 39 bool enable_version_37_; |
38 // FLAGS_quic_reloadable_flag_quic_enable_version_36_v3 | 40 // FLAGS_quic_reloadable_flag_quic_enable_version_36_v3 |
39 bool enable_version_36_; | 41 bool enable_version_36_; |
40 // FLAGS_quic_reloadable_flag_quic_disable_version_34 | 42 // FLAGS_quic_reloadable_flag_quic_disable_version_34 |
41 bool disable_version_34_; | 43 bool disable_version_34_; |
42 // The list of versions that may be supported. | 44 // The list of versions that may be supported. |
43 QuicVersionVector allowed_supported_versions_; | 45 QuicVersionVector allowed_supported_versions_; |
44 // This vector contains QUIC versions which are currently supported based on | 46 // This vector contains QUIC versions which are currently supported based on |
45 // flags. | 47 // flags. |
46 QuicVersionVector filtered_supported_versions_; | 48 QuicVersionVector filtered_supported_versions_; |
47 }; | 49 }; |
48 | 50 |
49 } // namespace net | 51 } // namespace net |
50 | 52 |
51 #endif // NET_QUIC_CORE_QUIC_VERSION_MANAGER_H_ | 53 #endif // NET_QUIC_CORE_QUIC_VERSION_MANAGER_H_ |
OLD | NEW |