OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 client/server reliable streams. | 5 // The base class for client/server reliable streams. |
6 | 6 |
7 #ifndef NET_QUIC_RELIABLE_QUIC_STREAM_H_ | 7 #ifndef NET_QUIC_RELIABLE_QUIC_STREAM_H_ |
8 #define NET_QUIC_RELIABLE_QUIC_STREAM_H_ | 8 #define NET_QUIC_RELIABLE_QUIC_STREAM_H_ |
9 | 9 |
10 #include <sys/types.h> | 10 #include <sys/types.h> |
11 | 11 |
12 #include <list> | 12 #include <list> |
13 | 13 |
14 #include "base/strings/string_piece.h" | 14 #include "base/strings/string_piece.h" |
15 #include "net/base/iovec.h" | 15 #include "net/base/iovec.h" |
16 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
17 #include "net/quic/quic_ack_notifier.h" | 17 #include "net/quic/quic_ack_notifier.h" |
18 #include "net/quic/quic_protocol.h" | 18 #include "net/quic/quic_protocol.h" |
19 #include "net/quic/quic_spdy_compressor.h" | |
20 #include "net/quic/quic_stream_sequencer.h" | 19 #include "net/quic/quic_stream_sequencer.h" |
21 | 20 |
22 namespace net { | 21 namespace net { |
23 | 22 |
24 namespace test { | 23 namespace test { |
25 class ReliableQuicStreamPeer; | 24 class ReliableQuicStreamPeer; |
26 } // namespace test | 25 } // namespace test |
27 | 26 |
28 class IPEndPoint; | 27 class IPEndPoint; |
29 class QuicSession; | 28 class QuicSession; |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 | 150 |
152 // True if the session this stream is running under is a server session. | 151 // True if the session this stream is running under is a server session. |
153 bool is_server_; | 152 bool is_server_; |
154 | 153 |
155 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream); | 154 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream); |
156 }; | 155 }; |
157 | 156 |
158 } // namespace net | 157 } // namespace net |
159 | 158 |
160 #endif // NET_QUIC_RELIABLE_QUIC_STREAM_H_ | 159 #endif // NET_QUIC_RELIABLE_QUIC_STREAM_H_ |
OLD | NEW |