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

Unified Diff: net/tools/quic/quic_server.h

Issue 47283002: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compilation error Created 7 years, 2 months 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/tools/quic/quic_reliable_client_stream_test.cc ('k') | net/tools/quic/quic_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_server.h
diff --git a/net/tools/quic/quic_server.h b/net/tools/quic/quic_server.h
index 5fee644b5463ff874af9fe1ef2242f8e3bb2fd10..f166555998376165fdc1513787f8197e7fb4482e 100644
--- a/net/tools/quic/quic_server.h
+++ b/net/tools/quic/quic_server.h
@@ -29,7 +29,8 @@ class QuicDispatcher;
class QuicServer : public EpollCallbackInterface {
public:
QuicServer();
- explicit QuicServer(const QuicConfig& config);
+ QuicServer(const QuicConfig& config,
+ const QuicVersionVector& supported_versions);
virtual ~QuicServer();
@@ -114,6 +115,12 @@ class QuicServer : public EpollCallbackInterface {
// crypto_config_ contains crypto parameters for the handshake.
QuicCryptoServerConfig crypto_config_;
+ // This vector contains QUIC versions which we currently support.
+ // This should be ordered such that the highest supported version is the first
+ // element, with subsequent elements in descending order (versions can be
+ // skipped as necessary).
+ QuicVersionVector supported_versions_;
+
DISALLOW_COPY_AND_ASSIGN(QuicServer);
};
« no previous file with comments | « net/tools/quic/quic_reliable_client_stream_test.cc ('k') | net/tools/quic/quic_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698