Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(649)

Side by Side Diff: net/quic/test_tools/quic_sent_packet_manager_peer.h

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "net/quic/quic_protocol.h" 8 #include "net/quic/quic_protocol.h"
9 #include "net/quic/quic_sent_packet_manager.h" 9 #include "net/quic/quic_sent_packet_manager.h"
10 10
(...skipping 24 matching lines...) Expand all
35 SendAlgorithmInterface* send_algorithm); 35 SendAlgorithmInterface* send_algorithm);
36 36
37 static const LossDetectionInterface* GetLossAlgorithm( 37 static const LossDetectionInterface* GetLossAlgorithm(
38 QuicSentPacketManager* sent_packet_manager); 38 QuicSentPacketManager* sent_packet_manager);
39 39
40 static void SetLossAlgorithm(QuicSentPacketManager* sent_packet_manager, 40 static void SetLossAlgorithm(QuicSentPacketManager* sent_packet_manager,
41 LossDetectionInterface* loss_detector); 41 LossDetectionInterface* loss_detector);
42 42
43 static RttStats* GetRttStats(QuicSentPacketManager* sent_packet_manager); 43 static RttStats* GetRttStats(QuicSentPacketManager* sent_packet_manager);
44 44
45 static size_t GetNackCount( 45 static QuicPacketCount GetNackCount(
46 const QuicSentPacketManager* sent_packet_manager, 46 const QuicSentPacketManager* sent_packet_manager,
47 QuicPacketSequenceNumber sequence_number); 47 QuicPacketSequenceNumber sequence_number);
48 48
49 static size_t GetPendingRetransmissionCount( 49 static size_t GetPendingRetransmissionCount(
50 const QuicSentPacketManager* sent_packet_manager); 50 const QuicSentPacketManager* sent_packet_manager);
51 51
52 static bool HasPendingPackets( 52 static bool HasPendingPackets(
53 const QuicSentPacketManager* sent_packet_manager); 53 const QuicSentPacketManager* sent_packet_manager);
54 54
55 static QuicTime GetSentTime(const QuicSentPacketManager* sent_packet_manager, 55 static QuicTime GetSentTime(const QuicSentPacketManager* sent_packet_manager,
(...skipping 27 matching lines...) Expand all
83 83
84 private: 84 private:
85 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManagerPeer); 85 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManagerPeer);
86 }; 86 };
87 87
88 } // namespace test 88 } // namespace test
89 89
90 } // namespace net 90 } // namespace net
91 91
92 #endif // NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ 92 #endif // NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_flow_controller_peer.cc ('k') | net/quic/test_tools/quic_sent_packet_manager_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698