diff options
Diffstat (limited to 'net/spdy/spdy_stream_unittest.cc')
| -rw-r--r-- | net/spdy/spdy_stream_unittest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/spdy/spdy_stream_unittest.cc b/net/spdy/spdy_stream_unittest.cc index 532c79f..a7b4fac 100644 --- a/net/spdy/spdy_stream_unittest.cc +++ b/net/spdy/spdy_stream_unittest.cc @@ -51,9 +51,9 @@ class TestSpdyStreamDelegate : public SpdyStream::Delegate { ADD_FAILURE() << "OnSendBody should not be called"; return ERR_UNEXPECTED; } - virtual bool OnSendBodyComplete(int status) { + virtual int OnSendBodyComplete(int /*status*/, bool* /*eof*/) { ADD_FAILURE() << "OnSendBodyComplete should not be called"; - return true; + return ERR_UNEXPECTED; } virtual int OnResponseReceived(const spdy::SpdyHeaderBlock& response, @@ -80,6 +80,7 @@ class TestSpdyStreamDelegate : public SpdyStream::Delegate { callback_ = NULL; callback->Run(OK); } + virtual void set_chunk_callback(net::ChunkCallback *) {} bool send_headers_completed() const { return send_headers_completed_; } const linked_ptr<spdy::SpdyHeaderBlock>& response() const { |
