| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_HTTP_HTTP_STREAM_PARSER_H_ | 5 #ifndef NET_HTTP_HTTP_STREAM_PARSER_H_ |
| 6 #define NET_HTTP_HTTP_STREAM_PARSER_H_ | 6 #define NET_HTTP_HTTP_STREAM_PARSER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 CompletionCallback* scheduled_callback_; | 182 CompletionCallback* scheduled_callback_; |
| 183 | 183 |
| 184 // The underlying socket. | 184 // The underlying socket. |
| 185 ClientSocketHandle* const connection_; | 185 ClientSocketHandle* const connection_; |
| 186 | 186 |
| 187 BoundNetLog net_log_; | 187 BoundNetLog net_log_; |
| 188 | 188 |
| 189 // Callback to be used when doing IO. | 189 // Callback to be used when doing IO. |
| 190 CompletionCallbackImpl<HttpStreamParser> io_callback_; | 190 CompletionCallbackImpl<HttpStreamParser> io_callback_; |
| 191 | 191 |
| 192 // Stores an encoded chunk for chunked uploads. |
| 193 scoped_refptr<IOBuffer> chunk_buf_; |
| 194 size_t chunk_data_length_; |
| 195 |
| 192 DISALLOW_COPY_AND_ASSIGN(HttpStreamParser); | 196 DISALLOW_COPY_AND_ASSIGN(HttpStreamParser); |
| 193 }; | 197 }; |
| 194 | 198 |
| 195 } // namespace net | 199 } // namespace net |
| 196 | 200 |
| 197 #endif // NET_HTTP_HTTP_STREAM_PARSER_H_ | 201 #endif // NET_HTTP_HTTP_STREAM_PARSER_H_ |
| OLD | NEW |