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

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

Issue 2873963003: Add an async ReadInitialHeaders method to QuicChromiumClientStream::Handle (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 | « net/quic/chromium/quic_chromium_client_stream_test.cc ('k') | net/quic/chromium/quic_http_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/chromium/quic_http_stream.h
diff --git a/net/quic/chromium/quic_http_stream.h b/net/quic/chromium/quic_http_stream.h
index 5e5d0c9b74bcff5b2c8116e13fde028de509b057..365a4383c6497e995d9488e23dcefbe4b5a72208 100644
--- a/net/quic/chromium/quic_http_stream.h
+++ b/net/quic/chromium/quic_http_stream.h
@@ -69,8 +69,6 @@ class NET_EXPORT_PRIVATE QuicHttpStream
void SetPriority(RequestPriority priority) override;
// QuicChromiumClientStream::Delegate implementation
- void OnInitialHeadersAvailable(const SpdyHeaderBlock& headers,
- size_t frame_len) override;
void OnDataAvailable() override;
void OnTrailingHeadersAvailable(const SpdyHeaderBlock& headers,
size_t frame_len) override;
@@ -124,6 +122,7 @@ class NET_EXPORT_PRIVATE QuicHttpStream
int DoSendBody();
int DoSendBodyComplete(int rv);
+ void OnReadResponseHeadersComplete(int rv);
int ProcessResponseHeaders(const SpdyHeaderBlock& headers);
int ReadAvailableData(IOBuffer* buf, int buf_len);
@@ -181,6 +180,7 @@ class NET_EXPORT_PRIVATE QuicHttpStream
// Serialized request headers.
SpdyHeaderBlock request_headers_;
+ SpdyHeaderBlock response_header_block_;
bool response_headers_received_;
// Number of bytes received by the headers stream on behalf of this stream.
« no previous file with comments | « net/quic/chromium/quic_chromium_client_stream_test.cc ('k') | net/quic/chromium/quic_http_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698