| 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_SPDY_SPDY_HTTP_STREAM_H_ | 5 #ifndef NET_SPDY_SPDY_HTTP_STREAM_H_ |
| 6 #define NET_SPDY_SPDY_HTTP_STREAM_H_ | 6 #define NET_SPDY_SPDY_HTTP_STREAM_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.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/http/http_stream.h" | 17 #include "net/http/http_stream.h" |
| 18 #include "net/spdy/spdy_read_queue.h" | 18 #include "net/spdy/spdy_read_queue.h" |
| 19 #include "net/spdy/spdy_session.h" | 19 #include "net/spdy/spdy_session.h" |
| 20 #include "net/spdy/spdy_stream.h" | 20 #include "net/spdy/spdy_stream.h" |
| 21 | 21 |
| 22 namespace net { | 22 namespace net { |
| 23 | 23 |
| 24 class DrainableIOBuffer; | |
| 25 struct HttpRequestInfo; | 24 struct HttpRequestInfo; |
| 26 class HttpResponseInfo; | 25 class HttpResponseInfo; |
| 27 class IOBuffer; | 26 class IOBuffer; |
| 28 class SpdySession; | 27 class SpdySession; |
| 29 class UploadDataStream; | 28 class UploadDataStream; |
| 30 | 29 |
| 31 // The SpdyHttpStream is a HTTP-specific type of stream known to a SpdySession. | 30 // The SpdyHttpStream is a HTTP-specific type of stream known to a SpdySession. |
| 32 class NET_EXPORT_PRIVATE SpdyHttpStream : public SpdyStream::Delegate, | 31 class NET_EXPORT_PRIVATE SpdyHttpStream : public SpdyStream::Delegate, |
| 33 public HttpStream { | 32 public HttpStream { |
| 34 public: | 33 public: |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 bool was_alpn_negotiated_; | 198 bool was_alpn_negotiated_; |
| 200 | 199 |
| 201 base::WeakPtrFactory<SpdyHttpStream> weak_factory_; | 200 base::WeakPtrFactory<SpdyHttpStream> weak_factory_; |
| 202 | 201 |
| 203 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream); | 202 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream); |
| 204 }; | 203 }; |
| 205 | 204 |
| 206 } // namespace net | 205 } // namespace net |
| 207 | 206 |
| 208 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_ | 207 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_ |
| OLD | NEW |