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

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

Issue 1918953003: Landing Recent QUIC changes until 4/22/2016 14:55 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deleted SpdyFramerTests missed while mergeing 120451808 Created 4 years, 8 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/test_tools/quic_connection_peer.h ('k') | net/quic/test_tools/quic_test_utils.h » ('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 #include "net/quic/test_tools/quic_connection_peer.h" 5 #include "net/quic/test_tools/quic_connection_peer.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "net/quic/congestion_control/send_algorithm_interface.h" 8 #include "net/quic/congestion_control/send_algorithm_interface.h"
9 #include "net/quic/quic_packet_writer.h" 9 #include "net/quic/quic_packet_writer.h"
10 #include "net/quic/quic_received_packet_manager.h" 10 #include "net/quic/quic_received_packet_manager.h"
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 QuicPacketNumber number) { 261 QuicPacketNumber number) {
262 connection->next_mtu_probe_at_ = number; 262 connection->next_mtu_probe_at_ = number;
263 } 263 }
264 264
265 // static 265 // static
266 void QuicConnectionPeer::SetAckMode(QuicConnection* connection, 266 void QuicConnectionPeer::SetAckMode(QuicConnection* connection,
267 QuicConnection::AckMode ack_mode) { 267 QuicConnection::AckMode ack_mode) {
268 connection->ack_mode_ = ack_mode; 268 connection->ack_mode_ = ack_mode;
269 } 269 }
270 270
271 // static
272 void QuicConnectionPeer::SetAckDecimationDelay(QuicConnection* connection,
273 float ack_decimation_delay) {
274 connection->ack_decimation_delay_ = ack_decimation_delay;
275 }
276
271 } // namespace test 277 } // namespace test
272 } // namespace net 278 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_connection_peer.h ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698