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

Unified Diff: net/quic/test_tools/mock_crypto_client_stream.cc

Issue 605163004: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0925
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/reliable_quic_stream_test.cc ('k') | net/quic/test_tools/quic_client_session_peer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/mock_crypto_client_stream.cc
diff --git a/net/quic/test_tools/mock_crypto_client_stream.cc b/net/quic/test_tools/mock_crypto_client_stream.cc
index d40a0bd436b8bbefd4f1defcc4cd2c684e9aa9d6..dd0e30ba65a85e9148387442fa24be726f17f177 100644
--- a/net/quic/test_tools/mock_crypto_client_stream.cc
+++ b/net/quic/test_tools/mock_crypto_client_stream.cc
@@ -86,11 +86,11 @@ void MockCryptoClientStream::SetConfigNegotiated() {
cgst.push_back(kTBBR);
#endif
cgst.push_back(kQBIC);
- session()->config()->set_congestion_feedback(cgst, kQBIC);
- session()->config()->set_idle_connection_state_lifetime(
+ session()->config()->SetCongestionFeedback(cgst, kQBIC);
+ session()->config()->SetIdleConnectionStateLifetime(
QuicTime::Delta::FromSeconds(2 * kMaximumIdleTimeoutSecs),
QuicTime::Delta::FromSeconds(kMaximumIdleTimeoutSecs));
- session()->config()->set_max_streams_per_connection(
+ session()->config()->SetMaxStreamsPerConnection(
2 * kDefaultMaxStreamsPerConnection, kDefaultMaxStreamsPerConnection);
CryptoHandshakeMessage msg;
« no previous file with comments | « net/quic/reliable_quic_stream_test.cc ('k') | net/quic/test_tools/quic_client_session_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698