| 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 17 matching lines...) Expand all Loading... |
| 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_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 | |
| 39 bool enable_version_37_; | |
| 40 // FLAGS_quic_reloadable_flag_quic_enable_version_36_v3 | |
| 41 bool enable_version_36_; | |
| 42 // FLAGS_quic_reloadable_flag_quic_disable_version_34 | |
| 43 bool disable_version_34_; | |
| 44 // The list of versions that may be supported. | 38 // The list of versions that may be supported. |
| 45 QuicVersionVector allowed_supported_versions_; | 39 QuicVersionVector allowed_supported_versions_; |
| 46 // This vector contains QUIC versions which are currently supported based on | 40 // This vector contains QUIC versions which are currently supported based on |
| 47 // flags. | 41 // flags. |
| 48 QuicVersionVector filtered_supported_versions_; | 42 QuicVersionVector filtered_supported_versions_; |
| 49 }; | 43 }; |
| 50 | 44 |
| 51 } // namespace net | 45 } // namespace net |
| 52 | 46 |
| 53 #endif // NET_QUIC_CORE_QUIC_VERSION_MANAGER_H_ | 47 #endif // NET_QUIC_CORE_QUIC_VERSION_MANAGER_H_ |
| OLD | NEW |