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 #include "net/quic/test_tools/reliable_quic_stream_peer.h" | 5 #include "net/quic/test_tools/reliable_quic_stream_peer.h" |
6 | 6 |
7 #include <list> | 7 #include <list> |
8 | 8 |
9 #include "net/quic/reliable_quic_stream.h" | 9 #include "net/quic/reliable_quic_stream.h" |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 } | 50 } |
51 return total; | 51 return total; |
52 } | 52 } |
53 | 53 |
54 // static | 54 // static |
55 void ReliableQuicStreamPeer::SetFecPolicy(ReliableQuicStream* stream, | 55 void ReliableQuicStreamPeer::SetFecPolicy(ReliableQuicStream* stream, |
56 FecPolicy fec_policy) { | 56 FecPolicy fec_policy) { |
57 stream->set_fec_policy(fec_policy); | 57 stream->set_fec_policy(fec_policy); |
58 } | 58 } |
59 | 59 |
| 60 // static |
| 61 bool ReliableQuicStreamPeer::StreamContributesToConnectionFlowControl( |
| 62 ReliableQuicStream* stream) { |
| 63 return stream->stream_contributes_to_connection_flow_control_; |
| 64 } |
| 65 |
60 } // namespace test | 66 } // namespace test |
61 } // namespace net | 67 } // namespace net |
OLD | NEW |