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

Unified Diff: net/spdy/spdy_http_stream.cc

Issue 1272283003: Add a new SpdyStream::Delegate method to handle trailers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Ryan's comments Created 5 years, 4 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/spdy/spdy_http_stream.cc
diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc
index f3da77bc803e419b8c7b0df76128d37652199234..d008e0dfaab5ae97986390a5a5d8daa457be2d42 100644
--- a/net/spdy/spdy_http_stream.cc
+++ b/net/spdy/spdy_http_stream.cc
@@ -365,6 +365,8 @@ void SpdyHttpStream::OnDataSent() {
ReadAndSendRequestBodyData();
}
+void SpdyHttpStream::OnTrailers(const SpdyHeaderBlock& trailers) {}
Ryan Hamilton 2015/08/10 22:37:38 nit: Can you add a TODO here to do something with
xunjieli 2015/08/11 15:07:14 Done. Good idea! I added the bug number as well. A
+
void SpdyHttpStream::OnClose(int status) {
if (stream_.get()) {
stream_closed_ = true;

Powered by Google App Engine
This is Rietveld 408576698