| 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_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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/string_piece.h" | 14 #include "base/strings/string_piece.h" |
| 15 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
| 16 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
| 17 #include "net/base/net_log.h" | 17 #include "net/base/net_log.h" |
| 18 #include "net/base/upload_progress.h" | 18 #include "net/base/upload_progress.h" |
| 19 | 19 |
| 20 namespace net { | 20 namespace net { |
| 21 | 21 |
| 22 class ClientSocketHandle; | 22 class ClientSocketHandle; |
| 23 class DrainableIOBuffer; | 23 class DrainableIOBuffer; |
| 24 class GrowableIOBuffer; | 24 class GrowableIOBuffer; |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 bool sent_last_chunk_; | 229 bool sent_last_chunk_; |
| 230 | 230 |
| 231 base::WeakPtrFactory<HttpStreamParser> weak_ptr_factory_; | 231 base::WeakPtrFactory<HttpStreamParser> weak_ptr_factory_; |
| 232 | 232 |
| 233 DISALLOW_COPY_AND_ASSIGN(HttpStreamParser); | 233 DISALLOW_COPY_AND_ASSIGN(HttpStreamParser); |
| 234 }; | 234 }; |
| 235 | 235 |
| 236 } // namespace net | 236 } // namespace net |
| 237 | 237 |
| 238 #endif // NET_HTTP_HTTP_STREAM_PARSER_H_ | 238 #endif // NET_HTTP_HTTP_STREAM_PARSER_H_ |
| OLD | NEW |