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

Unified Diff: net/spdy/spdy_stream_test_util.h

Issue 1272283003: Add a new SpdyStream::Delegate method to handle trailers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add NOTREACHED 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
« no previous file with comments | « net/spdy/spdy_stream.cc ('k') | net/spdy/spdy_stream_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_stream_test_util.h
diff --git a/net/spdy/spdy_stream_test_util.h b/net/spdy/spdy_stream_test_util.h
index 66db00cc9378fbb46406f6a9e1db5a32f2a098c3..9c260ea2e0e5f6df4bfffc9dca805be81f42066c 100644
--- a/net/spdy/spdy_stream_test_util.h
+++ b/net/spdy/spdy_stream_test_util.h
@@ -31,6 +31,7 @@ class ClosingDelegate : public SpdyStream::Delegate {
const SpdyHeaderBlock& response_headers) override;
void OnDataReceived(scoped_ptr<SpdyBuffer> buffer) override;
void OnDataSent() override;
+ void OnTrailers(const SpdyHeaderBlock& trailers) override;
void OnClose(int status) override;
// Returns whether or not the stream is closed.
@@ -52,6 +53,7 @@ class StreamDelegateBase : public SpdyStream::Delegate {
const SpdyHeaderBlock& response_headers) override;
void OnDataReceived(scoped_ptr<SpdyBuffer> buffer) override;
void OnDataSent() override;
+ void OnTrailers(const SpdyHeaderBlock& trailers) override;
void OnClose(int status) override;
// Waits for the stream to be closed and returns the status passed
« no previous file with comments | « net/spdy/spdy_stream.cc ('k') | net/spdy/spdy_stream_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698