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

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

Issue 693943003: Update from https://crrev.com/302630 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/receive_algorithm_interface.h" 8 #include "net/quic/congestion_control/receive_algorithm_interface.h"
9 #include "net/quic/congestion_control/send_algorithm_interface.h" 9 #include "net/quic/congestion_control/send_algorithm_interface.h"
10 #include "net/quic/quic_connection.h" 10 #include "net/quic/quic_connection.h"
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 QuicVersionVector versions) { 241 QuicVersionVector versions) {
242 connection->framer_.SetSupportedVersions(versions); 242 connection->framer_.SetSupportedVersions(versions);
243 } 243 }
244 244
245 // static 245 // static
246 QuicPacketHeader* QuicConnectionPeer::GetLastHeader( 246 QuicPacketHeader* QuicConnectionPeer::GetLastHeader(
247 QuicConnection* connection) { 247 QuicConnection* connection) {
248 return &connection->last_header_; 248 return &connection->last_header_;
249 } 249 }
250 250
251 // static
252 void QuicConnectionPeer::SetSequenceNumberOfLastSentPacket(
253 QuicConnection* connection, QuicPacketSequenceNumber number) {
254 connection->sequence_number_of_last_sent_packet_ = number;
255 }
256
251 } // namespace test 257 } // namespace test
252 } // namespace net 258 } // 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