| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_QUIC_QUIC_HTTP_STREAM_H_ | 5 #ifndef NET_QUIC_QUIC_HTTP_STREAM_H_ |
| 6 #define NET_QUIC_QUIC_HTTP_STREAM_H_ | 6 #define NET_QUIC_QUIC_HTTP_STREAM_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 111 |
| 112 int DoLoop(int rv); | 112 int DoLoop(int rv); |
| 113 int DoStreamRequest(); | 113 int DoStreamRequest(); |
| 114 int DoSetRequestPriority(); | 114 int DoSetRequestPriority(); |
| 115 int DoSendHeaders(); | 115 int DoSendHeaders(); |
| 116 int DoSendHeadersComplete(int rv); | 116 int DoSendHeadersComplete(int rv); |
| 117 int DoReadRequestBody(); | 117 int DoReadRequestBody(); |
| 118 int DoReadRequestBodyComplete(int rv); | 118 int DoReadRequestBodyComplete(int rv); |
| 119 int DoSendBody(); | 119 int DoSendBody(); |
| 120 int DoSendBodyComplete(int rv); | 120 int DoSendBodyComplete(int rv); |
| 121 int DoReadResponseHeaders(); | |
| 122 int DoReadResponseHeadersComplete(int rv); | |
| 123 | 121 |
| 124 int ProcessResponseHeaders(const SpdyHeaderBlock& headers); | 122 int ProcessResponseHeaders(const SpdyHeaderBlock& headers); |
| 125 | 123 |
| 126 int ReadAvailableData(IOBuffer* buf, int buf_len); | 124 int ReadAvailableData(IOBuffer* buf, int buf_len); |
| 127 void EnterStateSendHeaders(); | 125 void EnterStateSendHeaders(); |
| 128 int HandlePromise(); | 126 int HandlePromise(); |
| 129 | 127 |
| 130 void ResetStream(); | 128 void ResetStream(); |
| 131 bool CancelPromiseIfHasBody(); | 129 bool CancelPromiseIfHasBody(); |
| 132 | 130 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 QuicClientPushPromiseIndex::TryHandle* push_handle_; | 204 QuicClientPushPromiseIndex::TryHandle* push_handle_; |
| 207 | 205 |
| 208 base::WeakPtrFactory<QuicHttpStream> weak_factory_; | 206 base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
| 209 | 207 |
| 210 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); | 208 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); |
| 211 }; | 209 }; |
| 212 | 210 |
| 213 } // namespace net | 211 } // namespace net |
| 214 | 212 |
| 215 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ | 213 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ |
| OLD | NEW |