| Index: net/quic/quic_config.cc
|
| diff --git a/net/quic/quic_config.cc b/net/quic/quic_config.cc
|
| index f38e28bbad021e7520695a1bb9632603cdf43c04..ea5eae7690290981eb4071bbe979fcb759e5cef4 100644
|
| --- a/net/quic/quic_config.cc
|
| +++ b/net/quic/quic_config.cc
|
| @@ -447,13 +447,13 @@ QuicConfig::QuicConfig()
|
|
|
| QuicConfig::~QuicConfig() {}
|
|
|
| -void QuicConfig::set_congestion_feedback(
|
| +void QuicConfig::SetCongestionFeedback(
|
| const QuicTagVector& congestion_feedback,
|
| QuicTag default_congestion_feedback) {
|
| congestion_feedback_.set(congestion_feedback, default_congestion_feedback);
|
| }
|
|
|
| -QuicTag QuicConfig::congestion_feedback() const {
|
| +QuicTag QuicConfig::CongestionFeedback() const {
|
| return congestion_feedback_.GetTag();
|
| }
|
|
|
| @@ -478,7 +478,7 @@ QuicTagVector QuicConfig::SendConnectionOptions() const {
|
| return connection_options_.GetSendValues();
|
| }
|
|
|
| -void QuicConfig::set_idle_connection_state_lifetime(
|
| +void QuicConfig::SetIdleConnectionStateLifetime(
|
| QuicTime::Delta max_idle_connection_state_lifetime,
|
| QuicTime::Delta default_idle_conection_state_lifetime) {
|
| idle_connection_state_lifetime_seconds_.set(
|
| @@ -486,22 +486,22 @@ void QuicConfig::set_idle_connection_state_lifetime(
|
| default_idle_conection_state_lifetime.ToSeconds());
|
| }
|
|
|
| -QuicTime::Delta QuicConfig::idle_connection_state_lifetime() const {
|
| +QuicTime::Delta QuicConfig::IdleConnectionStateLifetime() const {
|
| return QuicTime::Delta::FromSeconds(
|
| idle_connection_state_lifetime_seconds_.GetUint32());
|
| }
|
|
|
| -QuicTime::Delta QuicConfig::keepalive_timeout() const {
|
| +QuicTime::Delta QuicConfig::KeepaliveTimeout() const {
|
| return QuicTime::Delta::FromSeconds(
|
| keepalive_timeout_seconds_.GetUint32());
|
| }
|
|
|
| -void QuicConfig::set_max_streams_per_connection(size_t max_streams,
|
| - size_t default_streams) {
|
| +void QuicConfig::SetMaxStreamsPerConnection(size_t max_streams,
|
| + size_t default_streams) {
|
| max_streams_per_connection_.set(max_streams, default_streams);
|
| }
|
|
|
| -uint32 QuicConfig::max_streams_per_connection() const {
|
| +uint32 QuicConfig::MaxStreamsPerConnection() const {
|
| return max_streams_per_connection_.GetUint32();
|
| }
|
|
|
| @@ -646,8 +646,8 @@ void QuicConfig::SetDefaults() {
|
| kDefaultInitialTimeoutSecs);
|
| // kKATO is optional. Return 0 if not negotiated.
|
| keepalive_timeout_seconds_.set(0, 0);
|
| - set_max_streams_per_connection(kDefaultMaxStreamsPerConnection,
|
| - kDefaultMaxStreamsPerConnection);
|
| + SetMaxStreamsPerConnection(kDefaultMaxStreamsPerConnection,
|
| + kDefaultMaxStreamsPerConnection);
|
| max_time_before_crypto_handshake_ = QuicTime::Delta::FromSeconds(
|
| kDefaultMaxTimeForCryptoHandshakeSecs);
|
|
|
|
|