| 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 // 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 ReliableQuicStream | 9 // accessing the owning session object. A subclass of ReliableQuicStream |
| 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 15 matching lines...) Expand all Loading... |
| 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/quic_flow_controller.h" | 32 #include "net/quic/quic_flow_controller.h" |
| 33 #include "net/quic/quic_protocol.h" | 33 #include "net/quic/quic_protocol.h" |
| 34 #include "net/quic/quic_stream_sequencer.h" | 34 #include "net/quic/quic_stream_sequencer.h" |
| 35 #include "net/quic/quic_types.h" | 35 #include "net/quic/quic_types.h" |
| 36 // TODO(alyssar) remove this after cleaning Priority logic from this class. | |
| 37 #include "net/quic/quic_write_blocked_list.h" | |
| 38 | 36 |
| 39 namespace net { | 37 namespace net { |
| 40 | 38 |
| 41 namespace test { | 39 namespace test { |
| 42 class ReliableQuicStreamPeer; | 40 class ReliableQuicStreamPeer; |
| 43 } // namespace test | 41 } // namespace test |
| 44 | 42 |
| 45 class QuicSession; | 43 class QuicSession; |
| 46 | 44 |
| 47 class NET_EXPORT_PRIVATE ReliableQuicStream { | 45 class NET_EXPORT_PRIVATE ReliableQuicStream { |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 // connection level flow control limits (but are stream level flow control | 292 // connection level flow control limits (but are stream level flow control |
| 295 // limited). | 293 // limited). |
| 296 bool stream_contributes_to_connection_flow_control_; | 294 bool stream_contributes_to_connection_flow_control_; |
| 297 | 295 |
| 298 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream); | 296 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream); |
| 299 }; | 297 }; |
| 300 | 298 |
| 301 } // namespace net | 299 } // namespace net |
| 302 | 300 |
| 303 #endif // NET_QUIC_RELIABLE_QUIC_STREAM_H_ | 301 #endif // NET_QUIC_RELIABLE_QUIC_STREAM_H_ |
| OLD | NEW |