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

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

Issue 2867673002: Split QuicChromiumClientStreamDelegate::OnHeadersAvailable into (Closed)
Patch Set: Rebase 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 4729d7faa3341737820c3e336748e5dda8da7965..e9f58509caf02dcfa96bfe3b9403bad5a9394ce7 100644
--- a/net/quic/chromium/bidirectional_stream_quic_impl.h
+++ b/net/quic/chromium/bidirectional_stream_quic_impl.h
@@ -58,9 +58,11 @@ class NET_EXPORT_PRIVATE BidirectionalStreamQuicImpl
private:
// QuicChromiumClientStream::Delegate implementation:
- void OnHeadersAvailable(const SpdyHeaderBlock& headers,
- size_t frame_len) override;
+ void OnInitialHeadersAvailable(const SpdyHeaderBlock& headers,
+ size_t frame_len) override;
void OnDataAvailable() override;
+ void OnTrailingHeadersAvailable(const SpdyHeaderBlock& headers,
+ size_t frame_len) override;
void OnClose() override;
void OnError(int error) override;
@@ -111,8 +113,6 @@ class NET_EXPORT_PRIVATE BidirectionalStreamQuicImpl
bool closed_is_first_stream_;
// Indicates whether initial headers have been sent.
bool has_sent_headers_;
- // Indicates whether initial headers have been received.
- bool has_received_headers_;
// Whether to automatically send request headers when stream is negotiated.
// If false, headers will not be sent until SendRequestHeaders() is called or
« 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