diff options
Diffstat (limited to 'net/quic/quic_stream_factory.h')
-rw-r--r-- | net/quic/quic_stream_factory.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h index b0a8999..9a7cfe5 100644 --- a/net/quic/quic_stream_factory.h +++ b/net/quic/quic_stream_factory.h @@ -147,7 +147,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory int threshold_public_resets_post_handshake, int socket_receive_buffer_size, bool delay_tcp_race, - bool store_server_configs_in_properties, + int max_server_configs_stored_in_properties, bool close_sessions_on_ip_change, int idle_connection_timeout_seconds, bool migrate_sessions_on_network_change, @@ -276,7 +276,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory bool enable_port_selection() const { return enable_port_selection_; } bool has_quic_server_info_factory() { - return !quic_server_info_factory_.get(); + return quic_server_info_factory_.get() != nullptr; } void set_quic_server_info_factory( @@ -291,10 +291,6 @@ class NET_EXPORT_PRIVATE QuicStreamFactory bool delay_tcp_race() const { return delay_tcp_race_; } - bool store_server_configs_in_properties() const { - return store_server_configs_in_properties_; - } - private: class Job; friend class test::QuicStreamFactoryPeer; @@ -482,9 +478,6 @@ class NET_EXPORT_PRIVATE QuicStreamFactory int yield_after_packets_; QuicTime::Delta yield_after_duration_; - // Set if server configs are to be stored in HttpServerProperties. - bool store_server_configs_in_properties_; - // Set if all sessions should be closed when any local IP address changes. const bool close_sessions_on_ip_change_; |