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

Unified Diff: net/quic/quic_stream_factory.h

Issue 811073004: QUIC - don't load data from disk cache if alternate protocol map doesn't (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: renamed variable Created 6 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 2fad1fc709fda46d4181a571e067310c479542dc..5d24c9b050ec1248b6e1015df6c0f4bb72387e40 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -105,6 +105,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
bool always_require_handshake_confirmation,
bool disable_connection_pooling,
int load_server_info_timeout,
+ bool disable_loading_server_info_for_new_servers,
const QuicTagVector& connection_options);
~QuicStreamFactory() override;
@@ -288,6 +289,11 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
// |load_server_info_timeout_ms_| to 0.
int load_server_info_timeout_ms_;
+ // Set to disable loading of QUIC server information from disk cache for new
+ // servers. New servers are those servers for which there is no QUIC protocol
+ // entry in AlternateProtocolMap.
+ bool disable_loading_server_info_for_new_servers_;
+
// 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

Powered by Google App Engine
This is Rietveld 408576698