| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 131 |
| 132 // Caller provided buffer for the ReadResponseBody() response. | 132 // Caller provided buffer for the ReadResponseBody() response. |
| 133 scoped_refptr<IOBuffer> user_buffer_; | 133 scoped_refptr<IOBuffer> user_buffer_; |
| 134 int user_buffer_len_; | 134 int user_buffer_len_; |
| 135 | 135 |
| 136 // Temporary buffer used to read the request body from UploadDataStream. | 136 // Temporary buffer used to read the request body from UploadDataStream. |
| 137 scoped_refptr<IOBufferWithSize> raw_request_body_buf_; | 137 scoped_refptr<IOBufferWithSize> raw_request_body_buf_; |
| 138 // Wraps raw_request_body_buf_ to read the remaining data progressively. | 138 // Wraps raw_request_body_buf_ to read the remaining data progressively. |
| 139 scoped_refptr<DrainableIOBuffer> request_body_buf_; | 139 scoped_refptr<DrainableIOBuffer> request_body_buf_; |
| 140 | 140 |
| 141 BoundNetLog stream_net_log_; |
| 142 |
| 141 base::WeakPtrFactory<QuicHttpStream> weak_factory_; | 143 base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
| 142 }; | 144 }; |
| 143 | 145 |
| 144 } // namespace net | 146 } // namespace net |
| 145 | 147 |
| 146 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ | 148 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ |
| OLD | NEW |