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

Unified Diff: net/quic/quartc/quartc_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/quartc/quartc_stream.h ('k') | net/quic/quartc/quartc_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quartc/quartc_stream.cc
diff --git a/net/quic/quartc/quartc_stream.cc b/net/quic/quartc/quartc_stream.cc
index cce57b32fae303f194ab989562730fca3133d016..e702a5874ee66c40685631011df9eb0189f25cc4 100644
--- a/net/quic/quartc/quartc_stream.cc
+++ b/net/quic/quartc/quartc_stream.cc
@@ -7,7 +7,7 @@
namespace net {
QuartcStream::QuartcStream(QuicStreamId id, QuicSession* session)
- : ReliableQuicStream(id, session) {}
+ : QuicStream(id, session) {}
QuartcStream::~QuartcStream() {}
void QuartcStream::OnDataAvailable() {
@@ -27,13 +27,13 @@ void QuartcStream::OnDataAvailable() {
}
void QuartcStream::OnClose() {
- ReliableQuicStream::OnClose();
+ QuicStream::OnClose();
DCHECK(delegate_);
delegate_->OnClose(this, connection_error());
}
void QuartcStream::OnCanWrite() {
- ReliableQuicStream::OnCanWrite();
+ QuicStream::OnCanWrite();
DCHECK(delegate_);
delegate_->OnBufferedAmountDecrease(this);
}
@@ -47,7 +47,7 @@ uint64_t QuartcStream::buffered_amount() {
}
bool QuartcStream::fin_sent() {
- return ReliableQuicStream::fin_sent();
+ return QuicStream::fin_sent();
}
void QuartcStream::Write(const char* data,
@@ -57,7 +57,7 @@ void QuartcStream::Write(const char* data,
}
void QuartcStream::Close() {
- ReliableQuicStream::session()->CloseStream(id());
+ QuicStream::session()->CloseStream(id());
}
void QuartcStream::SetDelegate(QuartcStreamInterface::Delegate* delegate) {
« no previous file with comments | « net/quic/quartc/quartc_stream.h ('k') | net/quic/quartc/quartc_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698