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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 // Wraps raw_request_body_buf_ to read the remaining data progressively. | 171 // Wraps raw_request_body_buf_ to read the remaining data progressively. |
172 scoped_refptr<DrainableIOBuffer> request_body_buf_; | 172 scoped_refptr<DrainableIOBuffer> request_body_buf_; |
173 | 173 |
174 BoundNetLog stream_net_log_; | 174 BoundNetLog stream_net_log_; |
175 | 175 |
176 QuicErrorCode quic_connection_error_; | 176 QuicErrorCode quic_connection_error_; |
177 | 177 |
178 // SSLInfo from the underlying QuicSession. | 178 // SSLInfo from the underlying QuicSession. |
179 SSLInfo ssl_info_; | 179 SSLInfo ssl_info_; |
180 | 180 |
| 181 // TODO(rtenneti): Temporary until crbug.com/585591 is solved. |
| 182 bool read_in_progress_ = false; |
| 183 |
181 base::WeakPtrFactory<QuicHttpStream> weak_factory_; | 184 base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
182 | 185 |
183 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); | 186 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); |
184 }; | 187 }; |
185 | 188 |
186 } // namespace net | 189 } // namespace net |
187 | 190 |
188 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ | 191 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ |
OLD | NEW |