| 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();
|
|
|