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

Unified Diff: net/quic/quic_stream_factory.h

Issue 110853010: Enable support for QUIC 13. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 7 years 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
Index: net/quic/quic_stream_factory.h
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
index e55c83c3cbec2329aa5979bc0c03380eeb473c29..1491fe84f1e2ee7149ef9ea0a2055722434b2812 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -89,7 +89,8 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory,
QuicRandom* random_generator,
QuicClock* clock,
- size_t max_packet_length);
+ size_t max_packet_length,
+ QuicVersionVector supported_versions);
virtual ~QuicStreamFactory();
// Creates a new QuicHttpStream to |host_port_proxy_pair| which will be
@@ -228,7 +229,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
JobRequestsMap job_requests_map_;
RequestMap active_requests_;
- base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
+ QuicVersionVector supported_versions_;
// Each profile will (probably) have a unique port_seed_ value. This value is
// used to help seed a pseudo-random number generator (PortSuggester) so that
@@ -238,6 +239,8 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
// port requests.
uint64 port_seed_;
+ base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
};

Powered by Google App Engine
This is Rietveld 408576698