Index: net/http/bidirectional_stream.cc |
diff --git a/net/http/bidirectional_stream.cc b/net/http/bidirectional_stream.cc |
index f76dee08a41d0978d4e35aba0c6df4b861944a38..a050bb728978cc2c0550e57cbec6ae73e1b488bc 100644 |
--- a/net/http/bidirectional_stream.cc |
+++ b/net/http/bidirectional_stream.cc |
@@ -167,21 +167,6 @@ int BidirectionalStream::ReadData(IOBuffer* buf, int buf_len) { |
return rv; |
} |
-void BidirectionalStream::SendData(const scoped_refptr<IOBuffer>& data, |
- int length, |
- bool end_stream) { |
- DCHECK(stream_impl_); |
- DCHECK(write_buffer_list_.empty()); |
- DCHECK(write_buffer_len_list_.empty()); |
- |
- if (net_log_.IsCapturing()) { |
- net_log_.AddEvent(NetLogEventType::BIDIRECTIONAL_STREAM_SEND_DATA); |
- } |
- stream_impl_->SendData(data, length, end_stream); |
- write_buffer_list_.push_back(data); |
- write_buffer_len_list_.push_back(length); |
-} |
- |
void BidirectionalStream::SendvData( |
const std::vector<scoped_refptr<IOBuffer>>& buffers, |
const std::vector<int>& lengths, |