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 QUIC streams. | 5 // The base class for client/server QUIC streams. |
6 | 6 |
7 // It does not contain the entire interface needed by an application to interact | 7 // It does not contain the entire interface needed by an application to interact |
8 // with a QUIC stream. Some parts of the interface must be obtained by | 8 // with a QUIC stream. Some parts of the interface must be obtained by |
9 // accessing the owning session object. A subclass of QuicStream | 9 // accessing the owning session object. A subclass of QuicStream |
10 // connects the object and the application that generates and consumes the data | 10 // connects the object and the application that generates and consumes the data |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include <list> | 24 #include <list> |
25 #include <string> | 25 #include <string> |
26 | 26 |
27 #include "base/macros.h" | 27 #include "base/macros.h" |
28 #include "base/memory/ref_counted.h" | 28 #include "base/memory/ref_counted.h" |
29 #include "base/strings/string_piece.h" | 29 #include "base/strings/string_piece.h" |
30 #include "net/base/iovec.h" | 30 #include "net/base/iovec.h" |
31 #include "net/base/net_export.h" | 31 #include "net/base/net_export.h" |
32 #include "net/quic/core/quic_flow_controller.h" | 32 #include "net/quic/core/quic_flow_controller.h" |
33 #include "net/quic/core/quic_iovector.h" | 33 #include "net/quic/core/quic_iovector.h" |
34 #include "net/quic/core/quic_protocol.h" | 34 #include "net/quic/core/quic_packets.h" |
35 #include "net/quic/core/quic_stream_sequencer.h" | 35 #include "net/quic/core/quic_stream_sequencer.h" |
36 #include "net/quic/core/quic_types.h" | 36 #include "net/quic/core/quic_types.h" |
37 | 37 |
38 namespace net { | 38 namespace net { |
39 | 39 |
40 namespace test { | 40 namespace test { |
41 class QuicStreamPeer; | 41 class QuicStreamPeer; |
42 } // namespace test | 42 } // namespace test |
43 | 43 |
44 class QuicSession; | 44 class QuicSession; |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 | 313 |
314 // For debugging only, used for busy loop check. | 314 // For debugging only, used for busy loop check. |
315 size_t busy_counter_; | 315 size_t busy_counter_; |
316 | 316 |
317 DISALLOW_COPY_AND_ASSIGN(QuicStream); | 317 DISALLOW_COPY_AND_ASSIGN(QuicStream); |
318 }; | 318 }; |
319 | 319 |
320 } // namespace net | 320 } // namespace net |
321 | 321 |
322 #endif // NET_QUIC_CORE_QUIC_STREAM_H_ | 322 #endif // NET_QUIC_CORE_QUIC_STREAM_H_ |
OLD | NEW |