OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // The base class for streams which deliver data to/from an application. | 5 // The base class for streams which deliver data to/from an application. |
6 // In each direction, the data on such a stream first contains compressed | 6 // In each direction, the data on such a stream first contains compressed |
7 // headers then body data. | 7 // headers then body data. |
8 | 8 |
9 #ifndef NET_QUIC_QUIC_SPDY_STREAM_H_ | 9 #ifndef NET_QUIC_QUIC_SPDY_STREAM_H_ |
10 #define NET_QUIC_QUIC_SPDY_STREAM_H_ | 10 #define NET_QUIC_QUIC_SPDY_STREAM_H_ |
11 | 11 |
12 #include <stddef.h> | 12 #include <stddef.h> |
13 #include <sys/types.h> | 13 #include <sys/types.h> |
14 | 14 |
15 #include <list> | 15 #include <list> |
16 #include <string> | 16 #include <string> |
17 | 17 |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/strings/string_piece.h" | 19 #include "base/strings/string_piece.h" |
20 #include "net/base/iovec.h" | 20 #include "net/base/iovec.h" |
21 #include "net/base/net_export.h" | 21 #include "net/base/net_export.h" |
22 #include "net/quic/core/quic_flags.h" | 22 #include "net/quic/core/quic_flags.h" |
23 #include "net/quic/core/quic_header_list.h" | 23 #include "net/quic/core/quic_header_list.h" |
24 #include "net/quic/core/quic_protocol.h" | 24 #include "net/quic/core/quic_packets.h" |
25 #include "net/quic/core/quic_stream.h" | 25 #include "net/quic/core/quic_stream.h" |
26 #include "net/quic/core/quic_stream_sequencer.h" | 26 #include "net/quic/core/quic_stream_sequencer.h" |
27 #include "net/quic/platform/api/quic_socket_address.h" | 27 #include "net/quic/platform/api/quic_socket_address.h" |
28 #include "net/spdy/spdy_framer.h" | 28 #include "net/spdy/spdy_framer.h" |
29 | 29 |
30 namespace net { | 30 namespace net { |
31 | 31 |
32 namespace test { | 32 namespace test { |
33 class QuicSpdyStreamPeer; | 33 class QuicSpdyStreamPeer; |
34 class QuicStreamPeer; | 34 class QuicStreamPeer; |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 bool trailers_consumed_; | 227 bool trailers_consumed_; |
228 // The parsed trailers received from the peer. | 228 // The parsed trailers received from the peer. |
229 SpdyHeaderBlock received_trailers_; | 229 SpdyHeaderBlock received_trailers_; |
230 | 230 |
231 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); | 231 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); |
232 }; | 232 }; |
233 | 233 |
234 } // namespace net | 234 } // namespace net |
235 | 235 |
236 #endif // NET_QUIC_QUIC_SPDY_STREAM_H_ | 236 #endif // NET_QUIC_QUIC_SPDY_STREAM_H_ |
OLD | NEW |