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/strings/string_piece.h" | 15 #include "base/strings/string_piece.h" |
15 #include "net/base/iovec.h" | 16 #include "net/base/iovec.h" |
16 #include "net/base/net_export.h" | 17 #include "net/base/net_export.h" |
17 #include "net/quic/quic_ack_notifier.h" | 18 #include "net/quic/quic_ack_notifier.h" |
18 #include "net/quic/quic_protocol.h" | 19 #include "net/quic/quic_protocol.h" |
19 #include "net/quic/quic_stream_sequencer.h" | 20 #include "net/quic/quic_stream_sequencer.h" |
20 | 21 |
21 namespace net { | 22 namespace net { |
22 | 23 |
23 namespace test { | 24 namespace test { |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 | 151 |
151 // True if the session this stream is running under is a server session. | 152 // True if the session this stream is running under is a server session. |
152 bool is_server_; | 153 bool is_server_; |
153 | 154 |
154 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream); | 155 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream); |
155 }; | 156 }; |
156 | 157 |
157 } // namespace net | 158 } // namespace net |
158 | 159 |
159 #endif // NET_QUIC_RELIABLE_QUIC_STREAM_H_ | 160 #endif // NET_QUIC_RELIABLE_QUIC_STREAM_H_ |
OLD | NEW |