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

Unified Diff: net/quic/quic_stream_factory.h

Issue 1572753003: QUIC - Allow cronet apps to specify how many server configs are to be (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: load all server configs from disk Created 4 years, 11 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
Index: net/quic/quic_stream_factory.h
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
index fd317d669d690757c537aae0a95b21f20f763961..884396512018f812271f0a44f6fb7e466345d5b3 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -145,7 +145,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 number_of_server_configs_stored_in_properties,
bool close_sessions_on_ip_change,
int idle_connection_timeout_seconds,
const QuicTagVector& connection_options);
@@ -255,8 +255,8 @@ 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_;
+ int number_of_server_configs_stored_in_properties() const {
+ return number_of_server_configs_stored_in_properties_;
}
private:
@@ -446,8 +446,8 @@ 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_;
+ // Number of server configs that are to be stored in HttpServerProperties.
+ int number_of_server_configs_stored_in_properties_;
// Set if all sessions should be closed when any local IP address changes.
const bool close_sessions_on_ip_change_;

Powered by Google App Engine
This is Rietveld 408576698