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 <sys/types.h> | 13 #include <sys/types.h> |
13 | 14 |
14 #include <list> | 15 #include <list> |
15 #include <string> | 16 #include <string> |
16 | 17 |
17 #include "base/basictypes.h" | 18 #include "base/macros.h" |
18 #include "base/strings/string_piece.h" | 19 #include "base/strings/string_piece.h" |
19 #include "net/base/iovec.h" | 20 #include "net/base/iovec.h" |
20 #include "net/base/ip_endpoint.h" | 21 #include "net/base/ip_endpoint.h" |
21 #include "net/base/net_export.h" | 22 #include "net/base/net_export.h" |
22 #include "net/quic/quic_protocol.h" | 23 #include "net/quic/quic_protocol.h" |
23 #include "net/quic/quic_stream_sequencer.h" | 24 #include "net/quic/quic_stream_sequencer.h" |
24 #include "net/quic/reliable_quic_stream.h" | 25 #include "net/quic/reliable_quic_stream.h" |
25 #include "net/spdy/spdy_framer.h" | 26 #include "net/spdy/spdy_framer.h" |
26 | 27 |
27 namespace net { | 28 namespace net { |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 // Contains a copy of the decompressed trailers until they are consumed | 173 // Contains a copy of the decompressed trailers until they are consumed |
173 // via ProcessData or Readv. | 174 // via ProcessData or Readv. |
174 std::string decompressed_trailers_; | 175 std::string decompressed_trailers_; |
175 | 176 |
176 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); | 177 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); |
177 }; | 178 }; |
178 | 179 |
179 } // namespace net | 180 } // namespace net |
180 | 181 |
181 #endif // NET_QUIC_QUIC_SPDY_STREAM_H_ | 182 #endif // NET_QUIC_QUIC_SPDY_STREAM_H_ |
OLD | NEW |