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

Unified Diff: net/quic/core/quic_protocol.h

Issue 2535283002: Move QuicVersionManager into standalone .h/.cc. No behavior change. (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/net.gypi ('k') | net/quic/core/quic_protocol.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_protocol.h
diff --git a/net/quic/core/quic_protocol.h b/net/quic/core/quic_protocol.h
index adb9d8f840b1d4e3b8b3cc1b30daf4f032eb523c..cf659ca286b238c8ae3638fb7e499ed2b4d1025b 100644
--- a/net/quic/core/quic_protocol.h
+++ b/net/quic/core/quic_protocol.h
@@ -608,36 +608,6 @@ class NET_EXPORT_PRIVATE QuicAckListenerInterface
virtual ~QuicAckListenerInterface() {}
};
-// Used to generate filtered supported versions based on flags.
-class NET_EXPORT_PRIVATE QuicVersionManager {
- public:
- explicit QuicVersionManager(QuicVersionVector supported_versions);
- virtual ~QuicVersionManager();
-
- // Returns currently supported QUIC versions.
- const QuicVersionVector& GetSupportedVersions();
-
- protected:
- // Maybe refilter filtered_supported_versions_ based on flags.
- void MaybeRefilterSupportedVersions();
-
- // Refilters filtered_supported_versions_.
- virtual void RefilterSupportedVersions();
-
- const QuicVersionVector& filtered_supported_versions() const {
- return filtered_supported_versions_;
- }
-
- private:
- // FLAGS_quic_enable_version_36_v3
- bool enable_version_36_;
- // The list of versions that may be supported.
- QuicVersionVector allowed_supported_versions_;
- // This vector contains QUIC versions which are currently supported based
- // on flags.
- QuicVersionVector filtered_supported_versions_;
-};
-
struct NET_EXPORT_PRIVATE AckListenerWrapper {
AckListenerWrapper(QuicAckListenerInterface* listener,
QuicPacketLength data_length);
« no previous file with comments | « net/net.gypi ('k') | net/quic/core/quic_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698