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 #ifndef NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_ |
6 #define NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "net/quic/quic_protocol.h" | 9 #include "net/quic/quic_protocol.h" |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 ReliableQuicStream* stream); | 21 ReliableQuicStream* stream); |
22 static void CloseReadSide(ReliableQuicStream* stream); | 22 static void CloseReadSide(ReliableQuicStream* stream); |
23 | 23 |
24 static bool FinSent(ReliableQuicStream* stream); | 24 static bool FinSent(ReliableQuicStream* stream); |
25 static bool RstSent(ReliableQuicStream* stream); | 25 static bool RstSent(ReliableQuicStream* stream); |
26 | 26 |
27 static uint32 SizeOfQueuedData(ReliableQuicStream* stream); | 27 static uint32 SizeOfQueuedData(ReliableQuicStream* stream); |
28 | 28 |
29 static void SetFecPolicy(ReliableQuicStream* stream, FecPolicy fec_policy); | 29 static void SetFecPolicy(ReliableQuicStream* stream, FecPolicy fec_policy); |
30 | 30 |
| 31 static bool StreamContributesToConnectionFlowControl( |
| 32 ReliableQuicStream* stream); |
| 33 |
31 private: | 34 private: |
32 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStreamPeer); | 35 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStreamPeer); |
33 }; | 36 }; |
34 | 37 |
35 } // namespace test | 38 } // namespace test |
36 } // namespace net | 39 } // namespace net |
37 | 40 |
38 #endif // NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_ | 41 #endif // NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_ |
OLD | NEW |