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

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

Issue 2877063002: Add an async ReadBody method to QuicChromiumClientStream::Handle (Closed)
Patch Set: format 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 365a4383c6497e995d9488e23dcefbe4b5a72208..be8833c4a5796aac8e578153389e930bb7020e70 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();
« 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