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

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

Issue 2873963003: Add an async ReadInitialHeaders method to QuicChromiumClientStream::Handle (Closed)
Patch Set: Cleanup 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
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 eb490005203285d520cc1f938137088d60ceb2f3..16e3ac0d91474f37de6b794c57fb1c38e22a2ec0 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);
@@ -183,6 +182,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.

Powered by Google App Engine
This is Rietveld 408576698