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

Unified Diff: net/quic/quic_session_test.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/quic/quic_session.cc ('k') | net/quic/quic_spdy_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_session_test.cc
diff --git a/net/quic/quic_session_test.cc b/net/quic/quic_session_test.cc
index 2be6a054cd912cd1dab87eb0c9285f2448abb0e1..268b5d2dba8ad491ee08795108b194887eb4229c 100644
--- a/net/quic/quic_session_test.cc
+++ b/net/quic/quic_session_test.cc
@@ -155,12 +155,11 @@ class TestSession : public QuicSpdySession {
QuicIOVector data,
QuicStreamOffset offset,
bool fin,
- FecProtection fec_protection,
QuicAckListenerInterface* ack_notifier_delegate) override {
QuicConsumedData consumed(data.total_length, fin);
if (!writev_consumes_all_data_) {
- consumed = QuicSession::WritevData(id, data, offset, fin, fec_protection,
- ack_notifier_delegate);
+ consumed =
+ QuicSession::WritevData(id, data, offset, fin, ack_notifier_delegate);
}
QuicSessionPeer::GetWriteBlockedStreams(this)->UpdateBytesForStream(
id, consumed.bytes_consumed);
@@ -173,8 +172,7 @@ class TestSession : public QuicSpdySession {
QuicConsumedData SendStreamData(QuicStreamId id) {
struct iovec iov;
- return WritevData(id, MakeIOVector("not empty", &iov), 0, true,
- MAY_FEC_PROTECT, nullptr);
+ return WritevData(id, MakeIOVector("not empty", &iov), 0, true, nullptr);
}
QuicConsumedData SendLargeFakeData(QuicStreamId id, int bytes) {
@@ -182,8 +180,7 @@ class TestSession : public QuicSpdySession {
struct iovec iov;
iov.iov_base = nullptr; // should not be read.
iov.iov_len = static_cast<size_t>(bytes);
- return WritevData(id, QuicIOVector(&iov, 1, bytes), 0, true,
- MAY_FEC_PROTECT, nullptr);
+ return WritevData(id, QuicIOVector(&iov, 1, bytes), 0, true, nullptr);
}
using QuicSession::PostProcessAfterData;
« no previous file with comments | « net/quic/quic_session.cc ('k') | net/quic/quic_spdy_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698