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

Unified Diff: net/quic/core/quic_spdy_stream.cc

Issue 2487613002: Landing Recent QUIC changes until 12:43 PM, Nov 5, 2016 UTC+8 (Closed)
Patch Set: Created 4 years, 1 month 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/core/quic_spdy_stream.h ('k') | net/quic/core/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/core/quic_spdy_stream.cc
diff --git a/net/quic/core/quic_spdy_stream.cc b/net/quic/core/quic_spdy_stream.cc
index 2e743f7c66383fc92868410ae0cab86576f3acc8..bb8b172e55b9326587a24c77b6e782be2fb3d0e5 100644
--- a/net/quic/core/quic_spdy_stream.cc
+++ b/net/quic/core/quic_spdy_stream.cc
@@ -26,7 +26,7 @@ namespace net {
" ")
QuicSpdyStream::QuicSpdyStream(QuicStreamId id, QuicSpdySession* spdy_session)
- : ReliableQuicStream(id, spdy_session),
+ : QuicStream(id, spdy_session),
spdy_session_(spdy_session),
visitor_(nullptr),
allow_bidirectional_data_(false),
@@ -56,7 +56,7 @@ void QuicSpdyStream::CloseWriteSide() {
Reset(QUIC_STREAM_NO_ERROR);
}
- ReliableQuicStream::CloseWriteSide();
+ QuicStream::CloseWriteSide();
}
void QuicSpdyStream::StopReading() {
@@ -67,7 +67,7 @@ void QuicSpdyStream::StopReading() {
DVLOG(1) << ENDPOINT << "Send QUIC_STREAM_NO_ERROR on stream " << id();
Reset(QUIC_STREAM_NO_ERROR);
}
- ReliableQuicStream::StopReading();
+ QuicStream::StopReading();
}
size_t QuicSpdyStream::WriteHeaders(
@@ -258,7 +258,7 @@ void QuicSpdyStream::OnTrailingHeadersComplete(
void QuicSpdyStream::OnStreamReset(const QuicRstStreamFrame& frame) {
if (frame.error_code != QUIC_STREAM_NO_ERROR) {
- ReliableQuicStream::OnStreamReset(frame);
+ QuicStream::OnStreamReset(frame);
return;
}
DVLOG(1) << "Received QUIC_STREAM_NO_ERROR, not discarding response";
@@ -269,7 +269,7 @@ void QuicSpdyStream::OnStreamReset(const QuicRstStreamFrame& frame) {
}
void QuicSpdyStream::OnClose() {
- ReliableQuicStream::OnClose();
+ QuicStream::OnClose();
if (visitor_) {
Visitor* visitor = visitor_;
@@ -281,7 +281,7 @@ void QuicSpdyStream::OnClose() {
}
void QuicSpdyStream::OnCanWrite() {
- ReliableQuicStream::OnCanWrite();
+ QuicStream::OnCanWrite();
// Trailers (and hence a FIN) may have been sent ahead of queued body bytes.
if (!HasBufferedData() && fin_sent()) {
@@ -344,8 +344,7 @@ QuicConsumedData QuicSpdyStream::WritevDataInner(
return spdy_session_->headers_stream()->WritevStreamData(
id(), iov, offset, fin, ack_notifier_delegate);
}
- return ReliableQuicStream::WritevDataInner(iov, offset, fin,
- ack_notifier_delegate);
+ return QuicStream::WritevDataInner(iov, offset, fin, ack_notifier_delegate);
}
} // namespace net
« no previous file with comments | « net/quic/core/quic_spdy_stream.h ('k') | net/quic/core/quic_spdy_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698