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

Unified Diff: net/quic/reliable_quic_stream.cc

Issue 2115033002: Adds QUIC_VERSION_36 which adds support to force HOL blocking between streams for measurement purpo… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@126085461
Patch Set: typo Created 4 years, 5 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.h ('k') | net/quic/test_tools/quic_config_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/reliable_quic_stream.cc
diff --git a/net/quic/reliable_quic_stream.cc b/net/quic/reliable_quic_stream.cc
index c7d3b6acc67607b9ddab5ae07bbc14b49b8c2705..7dc22b6313a44550a6f9383657dd2a54c914ada0 100644
--- a/net/quic/reliable_quic_stream.cc
+++ b/net/quic/reliable_quic_stream.cc
@@ -309,9 +309,9 @@ QuicConsumedData ReliableQuicStream::WritevData(
write_length = static_cast<size_t>(send_window);
}
- QuicConsumedData consumed_data = session()->WritevData(
- this, id(), QuicIOVector(iov, iov_count, write_length),
- stream_bytes_written_, fin, ack_listener);
+ QuicConsumedData consumed_data =
+ WritevDataInner(QuicIOVector(iov, iov_count, write_length),
+ stream_bytes_written_, fin, ack_listener);
stream_bytes_written_ += consumed_data.bytes_consumed;
AddBytesSent(consumed_data.bytes_consumed);
@@ -341,6 +341,15 @@ QuicConsumedData ReliableQuicStream::WritevData(
return consumed_data;
}
+QuicConsumedData ReliableQuicStream::WritevDataInner(
+ QuicIOVector iov,
+ QuicStreamOffset offset,
+ bool fin,
+ QuicAckListenerInterface* ack_notifier_delegate) {
+ return session()->WritevData(this, id(), iov, offset, fin,
+ ack_notifier_delegate);
+}
+
void ReliableQuicStream::CloseReadSide() {
if (read_side_closed_) {
return;
« no previous file with comments | « net/quic/reliable_quic_stream.h ('k') | net/quic/test_tools/quic_config_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698