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

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: Fix comments in Patch set 4 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
« no previous file with comments | « net/http/http_server_properties_manager_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 5a63b3eff308861ea3a2468afefc77a432dad4b7..69750f17661d2cbbc967536916a2a92391f569f9 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_;
« no previous file with comments | « net/http/http_server_properties_manager_unittest.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698