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

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

Issue 2347433003: Cleanup QuicHttpStream to be a bit more consistent with net coding conventions. (Closed)
Patch Set: More Created 4 years, 3 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/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 c597a0708153eb299c9b83945bce9956bf0d8d66..a57d41d93b9b299da68cb34c6975380c718b4820 100644
--- a/net/quic/chromium/quic_http_stream.h
+++ b/net/quic/chromium/quic_http_stream.h
@@ -95,7 +95,10 @@ class NET_EXPORT_PRIVATE QuicHttpStream
enum State {
STATE_NONE,
+ STATE_HANDLE_PROMISE,
+ STATE_HANDLE_PROMISE_COMPLETE,
STATE_REQUEST_STREAM,
+ STATE_REQUEST_STREAM_COMPLETE,
STATE_SET_REQUEST_PRIORITY,
STATE_WAIT_FOR_CONFIRMATION,
STATE_WAIT_FOR_CONFIRMATION_COMPLETE,
@@ -108,12 +111,14 @@ class NET_EXPORT_PRIVATE QuicHttpStream
STATE_OPEN,
};
- void OnStreamReady(int rv);
void OnIOComplete(int rv);
void DoCallback(int rv);
int DoLoop(int rv);
- int DoStreamRequest();
+ int DoHandlePromise();
+ int DoHandlePromiseComplete(int rv);
+ int DoRequestStream();
+ int DoRequestStreamComplete(int rv);
int DoSetRequestPriority();
int DoWaitForConfirmation();
int DoWaitForConfirmationComplete(int rv);
@@ -128,7 +133,6 @@ class NET_EXPORT_PRIVATE QuicHttpStream
int ReadAvailableData(IOBuffer* buf, int buf_len);
void EnterStateSendHeaders();
- int HandlePromise();
void ResetStream();
bool CancelPromiseIfHasBody();
« no previous file with comments | « no previous file | net/quic/chromium/quic_http_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698