| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_QUIC_SENT_PACKET_MANAGER_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ |
| 6 #define NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 static void SetMaxTailLossProbes(QuicSentPacketManager* sent_packet_manager, | 25 static void SetMaxTailLossProbes(QuicSentPacketManager* sent_packet_manager, |
| 26 size_t max_tail_loss_probes); | 26 size_t max_tail_loss_probes); |
| 27 | 27 |
| 28 static bool GetEnableHalfRttTailLossProbe( | 28 static bool GetEnableHalfRttTailLossProbe( |
| 29 QuicSentPacketManager* sent_packet_manager); | 29 QuicSentPacketManager* sent_packet_manager); |
| 30 | 30 |
| 31 static bool GetUseNewRto(QuicSentPacketManager* sent_packet_manager); | 31 static bool GetUseNewRto(QuicSentPacketManager* sent_packet_manager); |
| 32 | 32 |
| 33 static bool GetUndoRetransmits(QuicSentPacketManager* sent_packet_manager); | 33 static bool GetUndoRetransmits(QuicSentPacketManager* sent_packet_manager); |
| 34 | 34 |
| 35 static QuicByteCount GetReceiveWindow( | |
| 36 QuicSentPacketManager* sent_packet_manager); | |
| 37 | |
| 38 static void SetPerspective(QuicSentPacketManager* sent_packet_manager, | 35 static void SetPerspective(QuicSentPacketManager* sent_packet_manager, |
| 39 Perspective perspective); | 36 Perspective perspective); |
| 40 | 37 |
| 41 static SendAlgorithmInterface* GetSendAlgorithm( | 38 static SendAlgorithmInterface* GetSendAlgorithm( |
| 42 const QuicSentPacketManager& sent_packet_manager); | 39 const QuicSentPacketManager& sent_packet_manager); |
| 43 | 40 |
| 44 static void SetSendAlgorithm(QuicSentPacketManager* sent_packet_manager, | 41 static void SetSendAlgorithm(QuicSentPacketManager* sent_packet_manager, |
| 45 SendAlgorithmInterface* send_algorithm); | 42 SendAlgorithmInterface* send_algorithm); |
| 46 | 43 |
| 47 static const LossDetectionInterface* GetLossAlgorithm( | 44 static const LossDetectionInterface* GetLossAlgorithm( |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 102 |
| 106 private: | 103 private: |
| 107 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManagerPeer); | 104 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManagerPeer); |
| 108 }; | 105 }; |
| 109 | 106 |
| 110 } // namespace test | 107 } // namespace test |
| 111 | 108 |
| 112 } // namespace net | 109 } // namespace net |
| 113 | 110 |
| 114 #endif // NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ | 111 #endif // NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ |
| OLD | NEW |