blob: e857dfbe7869093c5474de7617dd503ebeda6443 [file] [log] [blame]
QUICHE teama6ef0a62019-03-07 20:34:33 -05001// Copyright 2016 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 QUICHE_QUIC_TEST_TOOLS_QUIC_BUFFERED_PACKET_STORE_PEER_H_
6#define QUICHE_QUIC_TEST_TOOLS_QUIC_BUFFERED_PACKET_STORE_PEER_H_
7
8#include <memory>
9
10#include "net/third_party/quiche/src/quic/core/quic_alarm.h"
11#include "net/third_party/quiche/src/quic/platform/api/quic_clock.h"
12
13namespace quic {
14
15class QuicBufferedPacketStore;
16
17namespace test {
18
19class QuicBufferedPacketStorePeer {
20 public:
21 QuicBufferedPacketStorePeer() = delete;
22
23 static QuicAlarm* expiration_alarm(QuicBufferedPacketStore* store);
24
25 static void set_clock(QuicBufferedPacketStore* store, const QuicClock* clock);
26};
27
28} // namespace test
29
30} // namespace quic
31
32#endif // QUICHE_QUIC_TEST_TOOLS_QUIC_BUFFERED_PACKET_STORE_PEER_H_