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

Unified Diff: net/quic/quartc/quartc_stream.cc

Issue 2913413002: Groundwork for cancelling quartc streams after a deadline is exceeded. (Closed)
Patch Set: Created 3 years, 7 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/quartc/quartc_stream.h ('k') | net/quic/quartc/quartc_stream_interface.h » ('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 932f14d1a9f5cba34d90c7b7c11e1d6cb0c4a817..2cae48d31a27fef75752d8c7e796a18a8cfb6c9c 100644
--- a/net/quic/quartc/quartc_stream.cc
+++ b/net/quic/quartc/quartc_stream.cc
@@ -31,7 +31,7 @@ void QuartcStream::OnDataAvailable() {
void QuartcStream::OnClose() {
QuicStream::OnClose();
DCHECK(delegate_);
- delegate_->OnClose(this, connection_error());
+ delegate_->OnClose(this);
}
void QuartcStream::OnCanWrite() {
@@ -52,6 +52,14 @@ bool QuartcStream::fin_sent() {
return QuicStream::fin_sent();
}
+int QuartcStream::stream_error() {
+ return QuicStream::stream_error();
+}
+
+int QuartcStream::connection_error() {
+ return QuicStream::connection_error();
+}
+
void QuartcStream::Write(const char* data,
size_t size,
const WriteParameters& param) {
« no previous file with comments | « net/quic/quartc/quartc_stream.h ('k') | net/quic/quartc/quartc_stream_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698