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

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

Issue 2889713002: Landing Recent QUIC changes until Fri May 12 18:23:26 2017 +0000 (Closed)
Patch Set: Created 3 years, 7 months 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
« no previous file with comments | « net/quic/core/quic_flags_list.h ('k') | net/quic/test_tools/quic_sent_packet_manager_peer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/macros.h" 8 #include "base/macros.h"
9 #include "net/quic/core/quic_packets.h" 9 #include "net/quic/core/quic_packets.h"
10 #include "net/quic/core/quic_sent_packet_manager.h" 10 #include "net/quic/core/quic_sent_packet_manager.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 static void SetConsecutiveRtoCount(QuicSentPacketManager* sent_packet_manager, 77 static void SetConsecutiveRtoCount(QuicSentPacketManager* sent_packet_manager,
78 size_t count); 78 size_t count);
79 79
80 static void SetConsecutiveTlpCount(QuicSentPacketManager* sent_packet_manager, 80 static void SetConsecutiveTlpCount(QuicSentPacketManager* sent_packet_manager,
81 size_t count); 81 size_t count);
82 82
83 static QuicSustainedBandwidthRecorder& GetBandwidthRecorder( 83 static QuicSustainedBandwidthRecorder& GetBandwidthRecorder(
84 QuicSentPacketManager* sent_packet_manager); 84 QuicSentPacketManager* sent_packet_manager);
85 85
86 static void SetUsingPacing(QuicSentPacketManager* sent_packet_manager,
87 bool using_pacing);
88
86 static bool UsingPacing(const QuicSentPacketManager* sent_packet_manager); 89 static bool UsingPacing(const QuicSentPacketManager* sent_packet_manager);
87 90
88 static bool IsUnacked(QuicSentPacketManager* sent_packet_manager, 91 static bool IsUnacked(QuicSentPacketManager* sent_packet_manager,
89 QuicPacketNumber packet_number); 92 QuicPacketNumber packet_number);
90 93
91 static bool HasRetransmittableFrames( 94 static bool HasRetransmittableFrames(
92 QuicSentPacketManager* sent_packet_manager, 95 QuicSentPacketManager* sent_packet_manager,
93 QuicPacketNumber packet_number); 96 QuicPacketNumber packet_number);
94 97
95 static QuicUnackedPacketMap* GetUnackedPacketMap( 98 static QuicUnackedPacketMap* GetUnackedPacketMap(
96 QuicSentPacketManager* sent_packet_manager); 99 QuicSentPacketManager* sent_packet_manager);
97 100
98 private: 101 private:
99 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManagerPeer); 102 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManagerPeer);
100 }; 103 };
101 104
102 } // namespace test 105 } // namespace test
103 106
104 } // namespace net 107 } // namespace net
105 108
106 #endif // NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ 109 #endif // NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_flags_list.h ('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