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

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

Issue 1784903003: Remove FEC from send path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@114770052
Patch Set: Restore accidentally removed OnRttChanged call 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/reliable_quic_stream_test.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.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 static QuicConnectionHelperInterface* GetHelper(QuicConnection* connection); 87 static QuicConnectionHelperInterface* GetHelper(QuicConnection* connection);
88 88
89 static QuicFramer* GetFramer(QuicConnection* connection); 89 static QuicFramer* GetFramer(QuicConnection* connection);
90 90
91 // Set last_header_->fec_group = fec_group and return connection->GetFecGroup 91 // Set last_header_->fec_group = fec_group and return connection->GetFecGroup
92 static QuicFecGroup* GetFecGroup(QuicConnection* connection, int fec_group); 92 static QuicFecGroup* GetFecGroup(QuicConnection* connection, int fec_group);
93 93
94 static QuicAlarm* GetAckAlarm(QuicConnection* connection); 94 static QuicAlarm* GetAckAlarm(QuicConnection* connection);
95 static QuicAlarm* GetPingAlarm(QuicConnection* connection); 95 static QuicAlarm* GetPingAlarm(QuicConnection* connection);
96 static QuicAlarm* GetFecAlarm(QuicConnection* connection);
97 static QuicAlarm* GetResumeWritesAlarm(QuicConnection* connection); 96 static QuicAlarm* GetResumeWritesAlarm(QuicConnection* connection);
98 static QuicAlarm* GetRetransmissionAlarm(QuicConnection* connection); 97 static QuicAlarm* GetRetransmissionAlarm(QuicConnection* connection);
99 static QuicAlarm* GetSendAlarm(QuicConnection* connection); 98 static QuicAlarm* GetSendAlarm(QuicConnection* connection);
100 static QuicAlarm* GetTimeoutAlarm(QuicConnection* connection); 99 static QuicAlarm* GetTimeoutAlarm(QuicConnection* connection);
101 static QuicAlarm* GetMtuDiscoveryAlarm(QuicConnection* connection); 100 static QuicAlarm* GetMtuDiscoveryAlarm(QuicConnection* connection);
102 101
103 static QuicPacketWriter* GetWriter(QuicConnection* connection); 102 static QuicPacketWriter* GetWriter(QuicConnection* connection);
104 // If |owns_writer| is true, takes ownership of |writer|. 103 // If |owns_writer| is true, takes ownership of |writer|.
105 static void SetWriter(QuicConnection* connection, 104 static void SetWriter(QuicConnection* connection,
106 QuicPacketWriter* writer, 105 QuicPacketWriter* writer,
(...skipping 20 matching lines...) Expand all
127 126
128 private: 127 private:
129 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); 128 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer);
130 }; 129 };
131 130
132 } // namespace test 131 } // namespace test
133 132
134 } // namespace net 133 } // namespace net
135 134
136 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ 135 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/reliable_quic_stream_test.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