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

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

Issue 2916033003: Landing Recent QUIC changes until 03:18 AM, May 28, UTC (Closed)
Patch Set: Added Quartc test files that were missed earlier. 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
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) {

Powered by Google App Engine
This is Rietveld 408576698