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

Unified Diff: net/quic/quic_session.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_crypto_client_stream_test.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_session.cc
diff --git a/net/quic/quic_session.cc b/net/quic/quic_session.cc
index 0f5be9c9dffd3b3f625dc6ee06dd45acbf6b70e7..77eaa52057ea2af35bc364a620d56ad955cefced 100644
--- a/net/quic/quic_session.cc
+++ b/net/quic/quic_session.cc
@@ -103,7 +103,7 @@ QuicSession::QuicSession(QuicConnection* connection, const QuicConfig& config)
: connection_(connection),
visitor_shim_(new VisitorShim(this)),
config_(config),
- max_open_streams_(config_.max_streams_per_connection()),
+ max_open_streams_(config_.MaxStreamsPerConnection()),
next_stream_id_(is_server() ? 2 : 5),
largest_peer_created_stream_id_(0),
error_(QUIC_NO_ERROR),
@@ -476,7 +476,7 @@ void QuicSession::OnConfigNegotiated() {
// when FIN/RSTs for old streams are lost or arrive out of order.
if (FLAGS_quic_allow_more_open_streams) {
set_max_open_streams((is_server() ? kMaxStreamsMultiplier : 1.0) *
- config_.max_streams_per_connection());
+ config_.MaxStreamsPerConnection());
}
if (version <= QUIC_VERSION_16) {
@@ -568,7 +568,7 @@ void QuicSession::OnCryptoHandshakeEvent(CryptoHandshakeEvent event) {
connection_->NeuterUnencryptedPackets();
connection_->SetOverallConnectionTimeout(QuicTime::Delta::Infinite());
if (!FLAGS_quic_allow_more_open_streams) {
- max_open_streams_ = config_.max_streams_per_connection();
+ max_open_streams_ = config_.MaxStreamsPerConnection();
}
break;
« no previous file with comments | « net/quic/quic_crypto_client_stream_test.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698