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

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

Issue 2877063002: Add an async ReadBody method to QuicChromiumClientStream::Handle (Closed)
Patch Set: 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 16e3ac0d91474f37de6b794c57fb1c38e22a2ec0..29e94db9c2b288d1fa05df6fd3e9e34f36bb31bb 100644
--- a/net/quic/chromium/quic_http_stream.h
+++ b/net/quic/chromium/quic_http_stream.h
@@ -69,7 +69,6 @@ class NET_EXPORT_PRIVATE QuicHttpStream
void SetPriority(RequestPriority priority) override;
// QuicChromiumClientStream::Delegate implementation
- void OnDataAvailable() override;
void OnTrailingHeadersAvailable(const SpdyHeaderBlock& headers,
size_t frame_len) override;
void OnClose() override;
@@ -125,7 +124,9 @@ class NET_EXPORT_PRIVATE QuicHttpStream
void OnReadResponseHeadersComplete(int rv);
int ProcessResponseHeaders(const SpdyHeaderBlock& headers);
- int ReadAvailableData(IOBuffer* buf, int buf_len);
+ void OnReadBodyComplete(int rv);
+ int HandleReadComplete(int rv);
+
void EnterStateSendHeaders();
void ResetStream();

Powered by Google App Engine
This is Rietveld 408576698