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

Unified Diff: net/quic/chromium/bidirectional_stream_quic_impl.h

Issue 2900533002: Add an async ReadTrailers method to QuicChromiumClientStream::Handle (Closed)
Patch Set: Fix comments 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 | « no previous file | net/quic/chromium/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/chromium/bidirectional_stream_quic_impl.h
diff --git a/net/quic/chromium/bidirectional_stream_quic_impl.h b/net/quic/chromium/bidirectional_stream_quic_impl.h
index 28a0f319505fd2102638c2a9f771dda19dcffe71..3b25309c71adcb075d23b516ddae4205219d2442 100644
--- a/net/quic/chromium/bidirectional_stream_quic_impl.h
+++ b/net/quic/chromium/bidirectional_stream_quic_impl.h
@@ -58,14 +58,14 @@ class NET_EXPORT_PRIVATE BidirectionalStreamQuicImpl
private:
// QuicChromiumClientStream::Delegate implementation:
- void OnTrailingHeadersAvailable(const SpdyHeaderBlock& headers,
- size_t frame_len) override;
void OnClose() override;
void OnError(int error) override;
void OnStreamReady(int rv);
void OnSendDataComplete(int rv);
void OnReadInitialHeadersComplete(int rv);
+ void ReadTrailingHeaders();
+ void OnReadTrailingHeadersComplete(int rv);
void OnReadDataComplete(int rv);
// Notifies the delegate of an error.
@@ -92,6 +92,7 @@ class NET_EXPORT_PRIVATE BidirectionalStreamQuicImpl
LoadTimingInfo::ConnectTiming connect_timing_;
SpdyHeaderBlock initial_headers_;
+ SpdyHeaderBlock trailing_headers_;
// User provided read buffer for ReadData() response.
scoped_refptr<IOBuffer> read_buffer_;
« no previous file with comments | « no previous file | net/quic/chromium/bidirectional_stream_quic_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698