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

Unified Diff: net/quic/quic_config.cc

Issue 608453007: No functional change. Rename QuicConfig methods from lowercase with (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Add_test_to_TcpCubicSender_76165601
Patch Set: Created 6 years, 3 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/quic/quic_config.h ('k') | net/quic/quic_config_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « net/quic/quic_config.h ('k') | net/quic/quic_config_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698