We started redesigning GpuMemoryBuffer interface to handle multiple buffers [0].
[chromium-blink-merge.git] / net / quic / test_tools / quic_received_packet_manager_peer.h
blobc3cb2d3bc2b05b9e5c7f12a126a44f701d9f3bae
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.
5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_RECEIVED_PACKET_MANAGER_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_RECEIVED_PACKET_MANAGER_PEER_H_
8 #include "net/quic/quic_protocol.h"
10 namespace net {
12 class QuicReceivedPacketManager;
14 namespace test {
16 class QuicReceivedPacketManagerPeer {
17 public:
18 static void SetCumulativeEntropyUpTo(
19 QuicReceivedPacketManager* received_packet_manager,
20 QuicPacketSequenceNumber peer_least_unacked,
21 QuicPacketEntropyHash entropy_hash);
23 static bool DontWaitForPacketsBefore(
24 QuicReceivedPacketManager* received_packet_manager,
25 QuicPacketSequenceNumber least_unacked);
27 private:
28 DISALLOW_COPY_AND_ASSIGN(QuicReceivedPacketManagerPeer);
31 } // namespace test
33 } // namespace net
35 #endif // NET_QUIC_TEST_TOOLS_QUIC_RECEIVED_PACKET_MANAGER_PEER_H_