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/ip_endpoint.h" | 21 #include "net/base/ip_endpoint.h" |
22 #include "net/base/net_export.h" | 22 #include "net/base/net_export.h" |
23 #include "net/quic/quic_flags.h" | 23 #include "net/quic/core/quic_flags.h" |
24 #include "net/quic/quic_header_list.h" | 24 #include "net/quic/core/quic_header_list.h" |
25 #include "net/quic/quic_protocol.h" | 25 #include "net/quic/core/quic_protocol.h" |
26 #include "net/quic/quic_stream_sequencer.h" | 26 #include "net/quic/core/quic_stream_sequencer.h" |
27 #include "net/quic/reliable_quic_stream.h" | 27 #include "net/quic/core/reliable_quic_stream.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 ReliableQuicStreamPeer; | 34 class ReliableQuicStreamPeer; |
35 } // namespace test | 35 } // namespace test |
36 | 36 |
37 class QuicSpdySession; | 37 class QuicSpdySession; |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 std::string decompressed_trailers_; | 253 std::string decompressed_trailers_; |
254 // The parsed trailers received from the peer. | 254 // The parsed trailers received from the peer. |
255 SpdyHeaderBlock received_trailers_; | 255 SpdyHeaderBlock received_trailers_; |
256 | 256 |
257 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); | 257 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); |
258 }; | 258 }; |
259 | 259 |
260 } // namespace net | 260 } // namespace net |
261 | 261 |
262 #endif // NET_QUIC_QUIC_SPDY_STREAM_H_ | 262 #endif // NET_QUIC_QUIC_SPDY_STREAM_H_ |
OLD | NEW |