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

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

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/socket/ssl_client_socket_nss.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 #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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 QuicConnection* connection) { 252 QuicConnection* connection) {
253 return &connection->last_header_; 253 return &connection->last_header_;
254 } 254 }
255 255
256 // static 256 // static
257 void QuicConnectionPeer::SetSequenceNumberOfLastSentPacket( 257 void QuicConnectionPeer::SetSequenceNumberOfLastSentPacket(
258 QuicConnection* connection, QuicPacketSequenceNumber number) { 258 QuicConnection* connection, QuicPacketSequenceNumber number) {
259 connection->sequence_number_of_last_sent_packet_ = number; 259 connection->sequence_number_of_last_sent_packet_ = number;
260 } 260 }
261 261
262 // static
263 QuicConnectionStats* QuicConnectionPeer::GetStats(QuicConnection* connection) {
264 return &connection->stats_;
265 }
266
262 } // namespace test 267 } // namespace test
263 } // namespace net 268 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_connection_peer.h ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698