Chromium Code Reviews| Index: net/spdy/bidirectional_stream_spdy_impl.h |
| diff --git a/net/spdy/bidirectional_stream_spdy_impl.h b/net/spdy/bidirectional_stream_spdy_impl.h |
| index 951c6aeeb46c6de967a915a21feccbe09a50a7b5..76514c16b8576a99451b90e02c543e65c42b4823 100644 |
| --- a/net/spdy/bidirectional_stream_spdy_impl.h |
| +++ b/net/spdy/bidirectional_stream_spdy_impl.h |
| @@ -10,6 +10,7 @@ |
| #include <memory> |
| #include "base/macros.h" |
| +#include "base/memory/ref_counted.h" |
| #include "base/memory/weak_ptr.h" |
| #include "net/http/bidirectional_stream_impl.h" |
| #include "net/http/bidirectional_stream_request_info.h" |
| @@ -44,8 +45,10 @@ class NET_EXPORT_PRIVATE BidirectionalStreamSpdyImpl |
| BidirectionalStreamImpl::Delegate* delegate, |
| std::unique_ptr<base::Timer> timer) override; |
| int ReadData(IOBuffer* buf, int buf_len) override; |
| - void SendData(IOBuffer* data, int length, bool end_stream) override; |
| - void SendvData(const std::vector<IOBuffer*>& buffers, |
| + void SendData(const scoped_refptr<IOBuffer>& data, |
| + int length, |
| + bool end_stream) override; |
| + void SendvData(const std::vector<scoped_refptr<IOBuffer>>& buffers, |
|
mef
2016/05/16 16:32:32
#include <vector>
xunjieli
2016/05/16 18:15:59
Done.
|
| const std::vector<int>& lengths, |
| bool end_stream) override; |
| void Cancel() override; |