quic_received_packet_manager_peer.h revision 2385ea399aae016c0806a4f9ef3c9cfe3d2a39df
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
3// found in the LICENSE file.
4
5#ifndef NET_QUIC_TEST_TOOLS_QUIC_RECEIVED_PACKET_MANAGER_PEER_H_
6#define NET_QUIC_TEST_TOOLS_QUIC_RECEIVED_PACKET_MANAGER_PEER_H_
7
8#include "net/quic/quic_protocol.h"
9
10namespace net {
11
12class QuicReceivedPacketManager;
13
14namespace test {
15
16class QuicReceivedPacketManagerPeer {
17 public:
18  static void RecalculateEntropyHash(
19      QuicReceivedPacketManager* received_packet_manager,
20      QuicPacketSequenceNumber peer_least_unacked,
21      QuicPacketEntropyHash entropy_hash);
22
23  static bool DontWaitForPacketsBefore(
24      QuicReceivedPacketManager* received_packet_manager,
25      QuicPacketSequenceNumber least_unacked);
26
27 private:
28  DISALLOW_COPY_AND_ASSIGN(QuicReceivedPacketManagerPeer);
29};
30
31}  // namespace test
32
33}  // namespace net
34
35#endif  // NET_QUIC_TEST_TOOLS_QUIC_RECEIVED_PACKET_MANAGER_PEER_H_
36