blob: d25a209b5f439cc860c4518fc6ff7d5f9f88f3ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/quic/test_tools/quic_received_packet_manager_peer.h"
#include "net/quic/quic_protocol.h"
#include "net/quic/quic_received_packet_manager.h"
namespace net {
namespace test {
// static
void QuicReceivedPacketManagerPeer::RecalculateEntropyHash(
QuicReceivedPacketManager* received_packet_manager,
QuicPacketSequenceNumber peer_least_unacked,
QuicPacketEntropyHash entropy_hash) {
received_packet_manager->RecalculateEntropyHash(peer_least_unacked,
entropy_hash);
}
// static
bool QuicReceivedPacketManagerPeer::DontWaitForPacketsBefore(
QuicReceivedPacketManager* received_packet_manager,
QuicPacketSequenceNumber least_unacked) {
return received_packet_manager->DontWaitForPacketsBefore(least_unacked);
}
} // namespace test
} // namespace net
|