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

Unified Diff: net/spdy/chromium/bidirectional_stream_spdy_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
« no previous file with comments | « net/spdy/chromium/bidirectional_stream_spdy_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/chromium/bidirectional_stream_spdy_impl_unittest.cc
diff --git a/net/spdy/chromium/bidirectional_stream_spdy_impl_unittest.cc b/net/spdy/chromium/bidirectional_stream_spdy_impl_unittest.cc
index 3b81307cddbe9e2026b248e940e4755d627ddc7a..e291424b243541413a3e0af541cd97c66c1e72fe 100644
--- a/net/spdy/chromium/bidirectional_stream_spdy_impl_unittest.cc
+++ b/net/spdy/chromium/bidirectional_stream_spdy_impl_unittest.cc
@@ -139,9 +139,7 @@ class TestDelegateBase : public BidirectionalStreamImpl::Delegate {
}
void SendData(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/spdy/chromium/bidirectional_stream_spdy_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698