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/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/strings/string_piece.h" | 16 #include "base/strings/string_piece.h" |
17 #include "net/base/iovec.h" | 17 #include "net/base/iovec.h" |
18 #include "net/base/net_export.h" | 18 #include "net/base/net_export.h" |
19 #include "net/quic/quic_ack_notifier.h" | 19 #include "net/quic/quic_ack_notifier.h" |
20 #include "net/quic/quic_flow_controller.h" | 20 #include "net/quic/quic_flow_controller.h" |
21 #include "net/quic/quic_protocol.h" | 21 #include "net/quic/quic_protocol.h" |
22 #include "net/quic/quic_stream_sequencer.h" | 22 #include "net/quic/quic_stream_sequencer.h" |
| 23 #include "net/quic/quic_types.h" |
23 | 24 |
24 namespace net { | 25 namespace net { |
25 | 26 |
26 namespace test { | 27 namespace test { |
27 class ReliableQuicStreamPeer; | 28 class ReliableQuicStreamPeer; |
28 } // namespace test | 29 } // namespace test |
29 | 30 |
30 class QuicSession; | 31 class QuicSession; |
31 | 32 |
32 class NET_EXPORT_PRIVATE ReliableQuicStream { | 33 class NET_EXPORT_PRIVATE ReliableQuicStream { |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 | 209 |
209 // The connection level flow controller. Not owned. | 210 // The connection level flow controller. Not owned. |
210 QuicFlowController* connection_flow_controller_; | 211 QuicFlowController* connection_flow_controller_; |
211 | 212 |
212 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream); | 213 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream); |
213 }; | 214 }; |
214 | 215 |
215 } // namespace net | 216 } // namespace net |
216 | 217 |
217 #endif // NET_QUIC_RELIABLE_QUIC_STREAM_H_ | 218 #endif // NET_QUIC_RELIABLE_QUIC_STREAM_H_ |
OLD | NEW |