| Index: net/spdy/spdy_http_stream.h
|
| diff --git a/net/spdy/spdy_http_stream.h b/net/spdy/spdy_http_stream.h
|
| index 226d01ca2574fa9d4d8910ddfb58fe81e8e56e1a..a99881caacf2d650f09cbe3e31f8cae96f2b83b5 100644
|
| --- a/net/spdy/spdy_http_stream.h
|
| +++ b/net/spdy/spdy_http_stream.h
|
| @@ -13,6 +13,7 @@
|
| #include "net/base/completion_callback.h"
|
| #include "net/base/net_log.h"
|
| #include "net/http/http_stream.h"
|
| +#include "net/spdy/spdy_read_queue.h"
|
| #include "net/spdy/spdy_stream.h"
|
|
|
| namespace net {
|
| @@ -89,7 +90,7 @@ class NET_EXPORT_PRIVATE SpdyHttpStream : public SpdyStream::Delegate,
|
| base::Time response_time,
|
| int status) OVERRIDE;
|
| virtual void OnHeadersSent() OVERRIDE;
|
| - virtual int OnDataReceived(const char* buffer, int bytes) OVERRIDE;
|
| + virtual int OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE;
|
| virtual void OnDataSent(size_t bytes_sent) OVERRIDE;
|
| virtual void OnClose(int status) OVERRIDE;
|
|
|
| @@ -140,7 +141,7 @@ class NET_EXPORT_PRIVATE SpdyHttpStream : public SpdyStream::Delegate,
|
|
|
| // We buffer the response body as it arrives asynchronously from the stream.
|
| // TODO(mbelshe): is this infinite buffering?
|
| - std::list<scoped_refptr<IOBufferWithSize> > response_body_;
|
| + SpdyReadQueue response_body_queue_;
|
|
|
| CompletionCallback callback_;
|
|
|
|
|