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

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: Fix android 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
« no previous file with comments | « net/quic/quic_reliable_client_stream_test.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8a915b68a1b49b798be01f6d70cfef88a5bfc726 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,
+ const 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);
};
« no previous file with comments | « net/quic/quic_reliable_client_stream_test.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698