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

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

Issue 1777293002: Add a new QUIC Ack Decimation mode that is reordering tolerant. Protected by FLAG_quic_ack_decimati… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@115844136
Patch Set: Created 4 years, 9 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/quic_sent_packet_manager.cc ('k') | net/quic/test_tools/quic_connection_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 (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_QUIC_CONNECTION_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "net/base/ip_endpoint.h" 9 #include "net/base/ip_endpoint.h"
10 #include "net/quic/quic_connection.h"
10 #include "net/quic/quic_connection_stats.h" 11 #include "net/quic/quic_connection_stats.h"
11 #include "net/quic/quic_protocol.h" 12 #include "net/quic/quic_protocol.h"
12 13
13 namespace net { 14 namespace net {
14 15
15 struct QuicAckFrame; 16 struct QuicAckFrame;
16 struct QuicPacketHeader; 17 struct QuicPacketHeader;
17 class QuicAlarm; 18 class QuicAlarm;
18 class QuicConnection;
19 class QuicConnectionHelperInterface; 19 class QuicConnectionHelperInterface;
20 class QuicConnectionVisitorInterface; 20 class QuicConnectionVisitorInterface;
21 class QuicEncryptedPacket; 21 class QuicEncryptedPacket;
22 class QuicFecGroup; 22 class QuicFecGroup;
23 class QuicFramer; 23 class QuicFramer;
24 class QuicPacketCreator; 24 class QuicPacketCreator;
25 class QuicPacketGenerator; 25 class QuicPacketGenerator;
26 class QuicPacketWriter; 26 class QuicPacketWriter;
27 class QuicReceivedPacketManager; 27 class QuicReceivedPacketManager;
28 class QuicSentEntropyManager; 28 class QuicSentEntropyManager;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 QuicPacketNumber number); 115 QuicPacketNumber number);
116 116
117 static QuicConnectionStats* GetStats(QuicConnection* connection); 117 static QuicConnectionStats* GetStats(QuicConnection* connection);
118 118
119 static QuicPacketCount GetPacketsBetweenMtuProbes(QuicConnection* connection); 119 static QuicPacketCount GetPacketsBetweenMtuProbes(QuicConnection* connection);
120 120
121 static void SetPacketsBetweenMtuProbes(QuicConnection* connection, 121 static void SetPacketsBetweenMtuProbes(QuicConnection* connection,
122 QuicPacketCount packets); 122 QuicPacketCount packets);
123 static void SetNextMtuProbeAt(QuicConnection* connection, 123 static void SetNextMtuProbeAt(QuicConnection* connection,
124 QuicPacketNumber number); 124 QuicPacketNumber number);
125 static void EnableAckDecimation(QuicConnection* connection); 125 static void SetAckMode(QuicConnection* connection,
126 QuicConnection::AckMode ack_mode);
126 127
127 private: 128 private:
128 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); 129 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer);
129 }; 130 };
130 131
131 } // namespace test 132 } // namespace test
132 133
133 } // namespace net 134 } // namespace net
134 135
135 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ 136 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_sent_packet_manager.cc ('k') | net/quic/test_tools/quic_connection_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698