| 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_40 |
| 35 bool enable_version_40_; |
| 34 // FLAGS_quic_reloadable_flag_quic_enable_version_39 | 36 // FLAGS_quic_reloadable_flag_quic_enable_version_39 |
| 35 bool enable_version_39_; | 37 bool enable_version_39_; |
| 36 // FLAGS_quic_reloadable_flag_quic_enable_version_38 | 38 // FLAGS_quic_reloadable_flag_quic_enable_version_38 |
| 37 bool enable_version_38_; | 39 bool enable_version_38_; |
| 38 // The list of versions that may be supported. | 40 // The list of versions that may be supported. |
| 39 QuicVersionVector allowed_supported_versions_; | 41 QuicVersionVector allowed_supported_versions_; |
| 40 // This vector contains QUIC versions which are currently supported based on | 42 // This vector contains QUIC versions which are currently supported based on |
| 41 // flags. | 43 // flags. |
| 42 QuicVersionVector filtered_supported_versions_; | 44 QuicVersionVector filtered_supported_versions_; |
| 43 }; | 45 }; |
| 44 | 46 |
| 45 } // namespace net | 47 } // namespace net |
| 46 | 48 |
| 47 #endif // NET_QUIC_CORE_QUIC_VERSION_MANAGER_H_ | 49 #endif // NET_QUIC_CORE_QUIC_VERSION_MANAGER_H_ |
| OLD | NEW |