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

Unified Diff: net/quic/bidirectional_stream_quic_impl.h

Issue 1856073002: Coalesce small buffers in net::BidirectionalStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix javadoc Created 4 years, 8 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/http_stream_factory_impl_unittest.cc ('k') | net/quic/bidirectional_stream_quic_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/bidirectional_stream_quic_impl.h
diff --git a/net/quic/bidirectional_stream_quic_impl.h b/net/quic/bidirectional_stream_quic_impl.h
index 2b1f25c40dec4bb506e12808f3143aa52e57829c..2570b902546542365c0e5b5a55bdc32606ab7cb0 100644
--- a/net/quic/bidirectional_stream_quic_impl.h
+++ b/net/quic/bidirectional_stream_quic_impl.h
@@ -39,10 +39,14 @@ class NET_EXPORT_PRIVATE BidirectionalStreamQuicImpl
// BidirectionalStreamImpl implementation:
void Start(const BidirectionalStreamRequestInfo* request_info,
const BoundNetLog& net_log,
+ bool disable_auto_flush,
BidirectionalStreamImpl::Delegate* delegate,
std::unique_ptr<base::Timer> timer) override;
int ReadData(IOBuffer* buffer, int buffer_len) override;
void SendData(IOBuffer* data, int length, bool end_stream) override;
+ void SendvData(const std::vector<IOBuffer*>& buffers,
+ const std::vector<int>& lengths,
+ bool end_stream) override;
void Cancel() override;
NextProto GetProtocol() const override;
int64_t GetTotalReceivedBytes() const override;
@@ -105,6 +109,8 @@ class NET_EXPORT_PRIVATE BidirectionalStreamQuicImpl
// Indicates whether initial headers have been received.
bool has_received_headers_;
+ bool disable_auto_flush_;
+
base::WeakPtrFactory<BidirectionalStreamQuicImpl> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamQuicImpl);
« no previous file with comments | « net/http/http_stream_factory_impl_unittest.cc ('k') | net/quic/bidirectional_stream_quic_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698