OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PIPELINED_STREAM_H_ | 5 #ifndef NET_HTTP_HTTP_PIPELINED_STREAM_H_ |
6 #define NET_HTTP_HTTP_PIPELINED_STREAM_H_ | 6 #define NET_HTTP_HTTP_PIPELINED_STREAM_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 "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "net/base/net_log.h" | 13 #include "net/base/net_log.h" |
14 #include "net/http/http_stream.h" | 14 #include "net/http/http_stream.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 | 17 |
18 class BoundNetLog; | 18 class BoundNetLog; |
19 class HttpPipelinedConnectionImpl; | 19 class HttpPipelinedConnectionImpl; |
20 class HttpResponseInfo; | 20 class HttpResponseInfo; |
21 class HttpRequestHeaders; | 21 class HttpRequestHeaders; |
22 struct HttpRequestInfo; | 22 struct HttpRequestInfo; |
23 class HttpStreamParser; | |
24 class IOBuffer; | 23 class IOBuffer; |
25 class ProxyInfo; | 24 class ProxyInfo; |
26 struct SSLConfig; | 25 struct SSLConfig; |
27 class UploadDataStream; | 26 class UploadDataStream; |
28 | 27 |
29 // HttpPipelinedStream is the pipelined implementation of HttpStream. It has | 28 // HttpPipelinedStream is the pipelined implementation of HttpStream. It has |
30 // very little code in it. Instead, it serves as the client's interface to the | 29 // very little code in it. Instead, it serves as the client's interface to the |
31 // pipelined connection, where all the work happens. | 30 // pipelined connection, where all the work happens. |
32 // | 31 // |
33 // In the case of pipelining failures, these functions may return | 32 // In the case of pipelining failures, these functions may return |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 int pipeline_id_; | 102 int pipeline_id_; |
104 | 103 |
105 const HttpRequestInfo* request_info_; | 104 const HttpRequestInfo* request_info_; |
106 | 105 |
107 DISALLOW_COPY_AND_ASSIGN(HttpPipelinedStream); | 106 DISALLOW_COPY_AND_ASSIGN(HttpPipelinedStream); |
108 }; | 107 }; |
109 | 108 |
110 } // namespace net | 109 } // namespace net |
111 | 110 |
112 #endif // NET_HTTP_HTTP_PIPELINED_STREAM_H_ | 111 #endif // NET_HTTP_HTTP_PIPELINED_STREAM_H_ |
OLD | NEW |