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

Unified Diff: net/tools/quic/test_tools/quic_test_client.cc

Issue 1784903003: Remove FEC from send path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@114770052
Patch Set: Restore accidentally removed OnRttChanged call Created 4 years, 9 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/tools/quic/test_tools/quic_test_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/quic_test_client.cc
diff --git a/net/tools/quic/test_tools/quic_test_client.cc b/net/tools/quic/test_tools/quic_test_client.cc
index cf1abece40559da51bd7d7e9895a7e42baca5196..e926279ace3d51b42de6f768234e4e90ab9934f2 100644
--- a/net/tools/quic/test_tools/quic_test_client.cc
+++ b/net/tools/quic/test_tools/quic_test_client.cc
@@ -201,7 +201,6 @@ void QuicTestClient::Initialize() {
connect_attempted_ = false;
auto_reconnect_ = false;
buffer_body_ = true;
- fec_policy_ = FEC_PROTECT_OPTIONAL;
ClearPerRequestState();
// As chrome will generally do this, we want it to be the default when it's
// not overridden.
@@ -394,8 +393,6 @@ QuicSpdyClientStream* QuicTestClient::GetOrCreateStream() {
QuicSpdyClientStream* cs = reinterpret_cast<QuicSpdyClientStream*>(stream_);
cs->SetPriority(priority_);
cs->set_allow_bidirectional_data(allow_bidirectional_data_);
- // Set FEC policy on stream.
- ReliableQuicStreamPeer::SetFecPolicy(stream_, fec_policy_);
}
return stream_;
@@ -651,15 +648,6 @@ void QuicTestClient::WaitForWriteToFlush() {
}
}
-void QuicTestClient::SetFecPolicy(FecPolicy fec_policy) {
- fec_policy_ = fec_policy;
- // Set policy for headers and crypto streams.
- ReliableQuicStreamPeer::SetFecPolicy(
- QuicSpdySessionPeer::GetHeadersStream(client()->session()), fec_policy);
- ReliableQuicStreamPeer::SetFecPolicy(client()->session()->GetCryptoStream(),
- fec_policy);
-}
-
void QuicTestClient::TestClientDataToResend::Resend() {
test_client_->GetOrCreateStreamAndSendRequest(headers_, body_, fin_,
delegate_);
« no previous file with comments | « net/tools/quic/test_tools/quic_test_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698