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

Unified Diff: net/quic/quic_stream_factory.h

Issue 669813003: Update from chromium https://crrev.com/301725/ (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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/quic/quic_network_transaction_unittest.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 7ee3681230b62c3b4c707b259f9ed195b854b242..c892cb2b1d9175e51f940b322bfa729f92d6c38c 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -104,6 +104,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
bool enable_port_selection,
bool always_require_handshake_confirmation,
bool disable_connection_pooling,
+ int load_server_info_timeout,
const QuicTagVector& connection_options);
~QuicStreamFactory() override;
@@ -282,6 +283,11 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
// Set if we do not want connection pooling.
bool disable_connection_pooling_;
+ // Specifies the timeout in milliseconds to wait for loading of QUIC server
+ // information. If we don't want to timeout, set
+ // |load_server_info_timeout_ms_| to 0.
+ int load_server_info_timeout_ms_;
+
// 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
// we consistently (within this profile) suggest the same ephemeral port when
@@ -294,6 +300,8 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
IPEndPoint local_address_;
bool check_persisted_supports_quic_;
+ base::TaskRunner* task_runner_;
+
base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
« no previous file with comments | « net/quic/quic_network_transaction_unittest.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698