| 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 19 matching lines...) Expand all Loading... |
| 30 return filtered_supported_versions_; | 30 return filtered_supported_versions_; |
| 31 } | 31 } |
| 32 | 32 |
| 33 private: | 33 private: |
| 34 // FLAGS_quic_enable_version_39 | 34 // FLAGS_quic_enable_version_39 |
| 35 bool enable_version_39_; | 35 bool enable_version_39_; |
| 36 // FLAGS_quic_reloadable_flag_quic_enable_version_38 | 36 // FLAGS_quic_reloadable_flag_quic_enable_version_38 |
| 37 bool enable_version_38_; | 37 bool enable_version_38_; |
| 38 // FLAGS_quic_reloadable_flag_quic_enable_version_37 | 38 // FLAGS_quic_reloadable_flag_quic_enable_version_37 |
| 39 bool enable_version_37_; | 39 bool enable_version_37_; |
| 40 // FLAGS_quic_reloadable_flag_quic_enable_version_36_v3 | |
| 41 bool enable_version_36_; | |
| 42 // The list of versions that may be supported. | 40 // The list of versions that may be supported. |
| 43 QuicVersionVector allowed_supported_versions_; | 41 QuicVersionVector allowed_supported_versions_; |
| 44 // This vector contains QUIC versions which are currently supported based on | 42 // This vector contains QUIC versions which are currently supported based on |
| 45 // flags. | 43 // flags. |
| 46 QuicVersionVector filtered_supported_versions_; | 44 QuicVersionVector filtered_supported_versions_; |
| 47 }; | 45 }; |
| 48 | 46 |
| 49 } // namespace net | 47 } // namespace net |
| 50 | 48 |
| 51 #endif // NET_QUIC_CORE_QUIC_VERSION_MANAGER_H_ | 49 #endif // NET_QUIC_CORE_QUIC_VERSION_MANAGER_H_ |
| OLD | NEW |