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

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

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_received_packet_manager_peer.h" 5 #include "net/quic/test_tools/quic_received_packet_manager_peer.h"
6 6
7 #include "net/quic/quic_protocol.h" 7 #include "net/quic/core/quic_protocol.h"
8 #include "net/quic/quic_received_packet_manager.h" 8 #include "net/quic/core/quic_received_packet_manager.h"
9 9
10 namespace net { 10 namespace net {
11 namespace test { 11 namespace test {
12 12
13 // static 13 // static
14 void QuicReceivedPacketManagerPeer::SetCumulativeEntropyUpTo( 14 void QuicReceivedPacketManagerPeer::SetCumulativeEntropyUpTo(
15 QuicReceivedPacketManager* received_packet_manager, 15 QuicReceivedPacketManager* received_packet_manager,
16 QuicPacketNumber peer_least_unacked, 16 QuicPacketNumber peer_least_unacked,
17 QuicPacketEntropyHash entropy_hash) { 17 QuicPacketEntropyHash entropy_hash) {
18 received_packet_manager->entropy_tracker_.SetCumulativeEntropyUpTo( 18 received_packet_manager->entropy_tracker_.SetCumulativeEntropyUpTo(
19 peer_least_unacked, entropy_hash); 19 peer_least_unacked, entropy_hash);
20 } 20 }
21 21
22 // static 22 // static
23 bool QuicReceivedPacketManagerPeer::DontWaitForPacketsBefore( 23 bool QuicReceivedPacketManagerPeer::DontWaitForPacketsBefore(
24 QuicReceivedPacketManager* received_packet_manager, 24 QuicReceivedPacketManager* received_packet_manager,
25 QuicPacketNumber least_unacked) { 25 QuicPacketNumber least_unacked) {
26 return received_packet_manager->DontWaitForPacketsBefore(least_unacked); 26 return received_packet_manager->DontWaitForPacketsBefore(least_unacked);
27 } 27 }
28 28
29 } // namespace test 29 } // namespace test
30 } // namespace net 30 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_received_packet_manager_peer.h ('k') | net/quic/test_tools/quic_sent_packet_manager_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698