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

Unified Diff: net/quic/chromium/bidirectional_stream_quic_impl_unittest.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
Index: net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc
diff --git a/net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc b/net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc
index 2efcb0253e9f39d35afdd0c6ebffea57e3675fbd..bd81ec3d09613d778a2f494793e0163c30e62cc9 100644
--- a/net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc
+++ b/net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc
@@ -173,9 +173,7 @@ class TestDelegateBase : public BidirectionalStreamImpl::Delegate {
void SendData(const scoped_refptr<IOBuffer>& data,
int length,
bool end_of_stream) {
- not_expect_callback_ = true;
- stream_->SendData(data, length, end_of_stream);
- not_expect_callback_ = false;
+ SendvData({data}, {length}, end_of_stream);
}
void SendvData(const std::vector<scoped_refptr<IOBuffer>>& data,
« no previous file with comments | « net/quic/chromium/bidirectional_stream_quic_impl.cc ('k') | net/spdy/chromium/bidirectional_stream_spdy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698