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 <list> | 8 #include <list> |
9 | 9 |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 int user_buffer_len_; | 156 int user_buffer_len_; |
157 | 157 |
158 // Temporary buffer used to read the request body from UploadDataStream. | 158 // Temporary buffer used to read the request body from UploadDataStream. |
159 scoped_refptr<IOBufferWithSize> raw_request_body_buf_; | 159 scoped_refptr<IOBufferWithSize> raw_request_body_buf_; |
160 // Wraps raw_request_body_buf_ to read the remaining data progressively. | 160 // Wraps raw_request_body_buf_ to read the remaining data progressively. |
161 scoped_refptr<DrainableIOBuffer> request_body_buf_; | 161 scoped_refptr<DrainableIOBuffer> request_body_buf_; |
162 | 162 |
163 BoundNetLog stream_net_log_; | 163 BoundNetLog stream_net_log_; |
164 | 164 |
165 base::WeakPtrFactory<QuicHttpStream> weak_factory_; | 165 base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
| 166 |
| 167 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); |
166 }; | 168 }; |
167 | 169 |
168 } // namespace net | 170 } // namespace net |
169 | 171 |
170 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ | 172 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ |
OLD | NEW |