| 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_CORE_QUIC_SPDY_STREAM_H_ | 9 #ifndef NET_QUIC_CORE_QUIC_SPDY_STREAM_H_ |
| 10 #define NET_QUIC_CORE_QUIC_SPDY_STREAM_H_ | 10 #define NET_QUIC_CORE_QUIC_SPDY_STREAM_H_ |
| 11 | 11 |
| 12 #include <sys/types.h> | 12 #include <sys/types.h> |
| 13 | 13 |
| 14 #include <cstddef> | 14 #include <cstddef> |
| 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 "net/base/iovec.h" | 19 #include "net/base/iovec.h" |
| 20 #include "net/quic/core/quic_flags.h" | |
| 21 #include "net/quic/core/quic_header_list.h" | 20 #include "net/quic/core/quic_header_list.h" |
| 22 #include "net/quic/core/quic_packets.h" | 21 #include "net/quic/core/quic_packets.h" |
| 23 #include "net/quic/core/quic_stream.h" | 22 #include "net/quic/core/quic_stream.h" |
| 24 #include "net/quic/core/quic_stream_sequencer.h" | 23 #include "net/quic/core/quic_stream_sequencer.h" |
| 25 #include "net/quic/platform/api/quic_export.h" | 24 #include "net/quic/platform/api/quic_export.h" |
| 25 #include "net/quic/platform/api/quic_flags.h" |
| 26 #include "net/quic/platform/api/quic_socket_address.h" | 26 #include "net/quic/platform/api/quic_socket_address.h" |
| 27 #include "net/spdy/spdy_framer.h" | 27 #include "net/spdy/spdy_framer.h" |
| 28 | 28 |
| 29 namespace net { | 29 namespace net { |
| 30 | 30 |
| 31 namespace test { | 31 namespace test { |
| 32 class QuicSpdyStreamPeer; | 32 class QuicSpdyStreamPeer; |
| 33 class QuicStreamPeer; | 33 class QuicStreamPeer; |
| 34 } // namespace test | 34 } // namespace test |
| 35 | 35 |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 bool trailers_consumed_; | 231 bool trailers_consumed_; |
| 232 // The parsed trailers received from the peer. | 232 // The parsed trailers received from the peer. |
| 233 SpdyHeaderBlock received_trailers_; | 233 SpdyHeaderBlock received_trailers_; |
| 234 | 234 |
| 235 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); | 235 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); |
| 236 }; | 236 }; |
| 237 | 237 |
| 238 } // namespace net | 238 } // namespace net |
| 239 | 239 |
| 240 #endif // NET_QUIC_CORE_QUIC_SPDY_STREAM_H_ | 240 #endif // NET_QUIC_CORE_QUIC_SPDY_STREAM_H_ |
| OLD | NEW |