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_DATA_STREAM_H_ | 9 #ifndef NET_QUIC_QUIC_DATA_STREAM_H_ |
10 #define NET_QUIC_QUIC_DATA_STREAM_H_ | 10 #define NET_QUIC_QUIC_DATA_STREAM_H_ |
11 | 11 |
12 #include <sys/types.h> | 12 #include <sys/types.h> |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 | 15 |
| 16 #include "base/basictypes.h" |
16 #include "base/strings/string_piece.h" | 17 #include "base/strings/string_piece.h" |
17 #include "net/base/iovec.h" | 18 #include "net/base/iovec.h" |
18 #include "net/base/net_export.h" | 19 #include "net/base/net_export.h" |
19 #include "net/quic/quic_ack_notifier.h" | 20 #include "net/quic/quic_ack_notifier.h" |
| 21 #include "net/quic/quic_protocol.h" |
20 #include "net/quic/quic_spdy_compressor.h" | 22 #include "net/quic/quic_spdy_compressor.h" |
21 #include "net/quic/quic_spdy_decompressor.h" | 23 #include "net/quic/quic_spdy_decompressor.h" |
22 #include "net/quic/quic_stream_sequencer.h" | 24 #include "net/quic/quic_stream_sequencer.h" |
23 #include "net/quic/reliable_quic_stream.h" | 25 #include "net/quic/reliable_quic_stream.h" |
24 | 26 |
25 namespace net { | 27 namespace net { |
26 | 28 |
27 namespace test { | 29 namespace test { |
28 class QuicDataStreamPeer; | 30 class QuicDataStreamPeer; |
29 class ReliableQuicStreamPeer; | 31 class ReliableQuicStreamPeer; |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 bool decompression_failed_; | 161 bool decompression_failed_; |
160 // True if the priority has been read, false otherwise. | 162 // True if the priority has been read, false otherwise. |
161 bool priority_parsed_; | 163 bool priority_parsed_; |
162 | 164 |
163 DISALLOW_COPY_AND_ASSIGN(QuicDataStream); | 165 DISALLOW_COPY_AND_ASSIGN(QuicDataStream); |
164 }; | 166 }; |
165 | 167 |
166 } // namespace net | 168 } // namespace net |
167 | 169 |
168 #endif // NET_QUIC_QUIC_DATA_STREAM_H_ | 170 #endif // NET_QUIC_QUIC_DATA_STREAM_H_ |
OLD | NEW |