| 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 // HttpBasicStream is a simple implementation of HttpStream. It assumes it is | 5 // HttpBasicStream is a simple implementation of HttpStream. It assumes it is |
| 6 // not sharing a sharing with any other HttpStreams, therefore it just reads and | 6 // not sharing a sharing with any other HttpStreams, therefore it just reads and |
| 7 // writes directly to the Http Stream. | 7 // writes directly to the Http Stream. |
| 8 | 8 |
| 9 #ifndef NET_HTTP_HTTP_BASIC_STREAM_H_ | 9 #ifndef NET_HTTP_HTTP_BASIC_STREAM_H_ |
| 10 #define NET_HTTP_HTTP_BASIC_STREAM_H_ | 10 #define NET_HTTP_HTTP_BASIC_STREAM_H_ |
| 11 | 11 |
| 12 #include <stdint.h> | 12 #include <stdint.h> |
| 13 | 13 |
| 14 #include <string> | 14 #include <string> |
| 15 | 15 |
| 16 #include "base/basictypes.h" | 16 #include "base/macros.h" |
| 17 #include "net/http/http_basic_state.h" | 17 #include "net/http/http_basic_state.h" |
| 18 #include "net/http/http_stream.h" | 18 #include "net/http/http_stream.h" |
| 19 | 19 |
| 20 namespace net { | 20 namespace net { |
| 21 | 21 |
| 22 class BoundNetLog; | 22 class BoundNetLog; |
| 23 class ClientSocketHandle; | 23 class ClientSocketHandle; |
| 24 class HttpResponseInfo; | 24 class HttpResponseInfo; |
| 25 struct HttpRequestInfo; | 25 struct HttpRequestInfo; |
| 26 class HttpRequestHeaders; | 26 class HttpRequestHeaders; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 HttpStreamParser* parser() const { return state_.parser(); } | 86 HttpStreamParser* parser() const { return state_.parser(); } |
| 87 | 87 |
| 88 HttpBasicState state_; | 88 HttpBasicState state_; |
| 89 | 89 |
| 90 DISALLOW_COPY_AND_ASSIGN(HttpBasicStream); | 90 DISALLOW_COPY_AND_ASSIGN(HttpBasicStream); |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 } // namespace net | 93 } // namespace net |
| 94 | 94 |
| 95 #endif // NET_HTTP_HTTP_BASIC_STREAM_H_ | 95 #endif // NET_HTTP_HTTP_BASIC_STREAM_H_ |
| OLD | NEW |