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

Unified Diff: net/http/bidirectional_stream.cc

Issue 2915053003: Remove unused BidirectionalStream::SendData() method and implementations. (Closed)
Patch Set: Fix Created 3 years, 7 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/http/bidirectional_stream.h ('k') | net/http/bidirectional_stream_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « net/http/bidirectional_stream.h ('k') | net/http/bidirectional_stream_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698