| 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 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "net/base/completion_callback.h" |
| 12 #include "net/base/net_log.h" | 13 #include "net/base/net_log.h" |
| 13 #include "net/base/upload_data_stream.h" | 14 #include "net/base/upload_data_stream.h" |
| 14 #include "net/http/http_chunked_decoder.h" | 15 #include "net/http/http_chunked_decoder.h" |
| 15 | 16 |
| 16 namespace net { | 17 namespace net { |
| 17 | 18 |
| 18 class ClientSocketHandle; | 19 class ClientSocketHandle; |
| 19 class DrainableIOBuffer; | 20 class DrainableIOBuffer; |
| 20 class GrowableIOBuffer; | 21 class GrowableIOBuffer; |
| 21 struct HttpRequestInfo; | 22 struct HttpRequestInfo; |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 | 181 |
| 181 // Callback to be used when doing IO. | 182 // Callback to be used when doing IO. |
| 182 CompletionCallbackImpl<HttpStreamParser> io_callback_; | 183 CompletionCallbackImpl<HttpStreamParser> io_callback_; |
| 183 | 184 |
| 184 DISALLOW_COPY_AND_ASSIGN(HttpStreamParser); | 185 DISALLOW_COPY_AND_ASSIGN(HttpStreamParser); |
| 185 }; | 186 }; |
| 186 | 187 |
| 187 } // namespace net | 188 } // namespace net |
| 188 | 189 |
| 189 #endif // NET_HTTP_HTTP_STREAM_PARSER_H_ | 190 #endif // NET_HTTP_HTTP_STREAM_PARSER_H_ |
| OLD | NEW |