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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 // Wraps raw_request_body_buf_ to read the remaining data progressively. | 186 // Wraps raw_request_body_buf_ to read the remaining data progressively. |
187 scoped_refptr<DrainableIOBuffer> request_body_buf_; | 187 scoped_refptr<DrainableIOBuffer> request_body_buf_; |
188 | 188 |
189 BoundNetLog stream_net_log_; | 189 BoundNetLog stream_net_log_; |
190 | 190 |
191 QuicErrorCode quic_connection_error_; | 191 QuicErrorCode quic_connection_error_; |
192 | 192 |
193 // SSLInfo from the underlying QuicSession. | 193 // SSLInfo from the underlying QuicSession. |
194 SSLInfo ssl_info_; | 194 SSLInfo ssl_info_; |
195 | 195 |
196 // TODO(rtenneti): Temporary until crbug.com/585591 is solved. | |
197 bool read_in_progress_ = false; | |
198 | |
199 bool found_promise_; | 196 bool found_promise_; |
200 // |QuicClientPromisedInfo| owns this. It will be set when |Try()| | 197 // |QuicClientPromisedInfo| owns this. It will be set when |Try()| |
201 // is asynchronous, i.e. it returned QUIC_PENDING, and remains valid | 198 // is asynchronous, i.e. it returned QUIC_PENDING, and remains valid |
202 // until |OnRendezvouResult()| fires or |push_handle_->Cancel()| is | 199 // until |OnRendezvouResult()| fires or |push_handle_->Cancel()| is |
203 // invoked. | 200 // invoked. |
204 QuicClientPushPromiseIndex::TryHandle* push_handle_; | 201 QuicClientPushPromiseIndex::TryHandle* push_handle_; |
205 | 202 |
206 base::WeakPtrFactory<QuicHttpStream> weak_factory_; | 203 base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
207 | 204 |
208 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); | 205 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); |
209 }; | 206 }; |
210 | 207 |
211 } // namespace net | 208 } // namespace net |
212 | 209 |
213 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ | 210 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ |
OLD | NEW |