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

Unified Diff: net/quic/quic_session_test.cc

Issue 335533002: API changes to Write path Session on down for FEC protection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/reliable_quic_stream.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 0c83eceda758b95ba535b5ba1c9b9b8852e28755..45987e6b9401b422f143d025df0c5f6234121cf9 100644
--- a/net/quic/quic_session_test.cc
+++ b/net/quic/quic_session_test.cc
@@ -150,12 +150,13 @@ class TestSession : public QuicSession {
const IOVector& data,
QuicStreamOffset offset,
bool fin,
+ FecProtection fec_protection,
QuicAckNotifier::DelegateInterface* ack_notifier_delegate) OVERRIDE {
// Always consumes everything.
if (writev_consumes_all_data_) {
return QuicConsumedData(data.TotalBufferSize(), fin);
} else {
- return QuicSession::WritevData(id, data, offset, fin,
+ return QuicSession::WritevData(id, data, offset, fin, fec_protection,
ack_notifier_delegate);
}
}
@@ -165,7 +166,7 @@ class TestSession : public QuicSession {
}
QuicConsumedData SendStreamData(QuicStreamId id) {
- return WritevData(id, IOVector(), 0, true, NULL);
+ return WritevData(id, IOVector(), 0, true, MAY_FEC_PROTECT, NULL);
}
using QuicSession::PostProcessAfterData;
« no previous file with comments | « net/quic/quic_session.cc ('k') | net/quic/reliable_quic_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698