blob: cc78aee58206c4bbf66f2177a1108d93e1e0fd54 [file] [log] [blame]
QUICHE teama6ef0a62019-03-07 20:34:33 -05001// Copyright (c) 2018 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#ifndef QUICHE_QUIC_TEST_TOOLS_QUIC_STREAM_ID_MANAGER_PEER_H_
5#define QUICHE_QUIC_TEST_TOOLS_QUIC_STREAM_ID_MANAGER_PEER_H_
6
7#include <stddef.h>
8
fkastenholz3c4eabf2019-04-22 07:49:59 -07009#include "net/third_party/quiche/src/quic/core/quic_types.h"
10
QUICHE teama6ef0a62019-03-07 20:34:33 -050011namespace quic {
12
13class QuicStreamIdManager;
fkastenholz3c4eabf2019-04-22 07:49:59 -070014class UberQuicStreamIdManager;
QUICHE teama6ef0a62019-03-07 20:34:33 -050015
16namespace test {
17
18class QuicStreamIdManagerPeer {
19 public:
20 QuicStreamIdManagerPeer() = delete;
fkastenholz3c4eabf2019-04-22 07:49:59 -070021
22 static void set_incoming_actual_max_streams(
QUICHE teama6ef0a62019-03-07 20:34:33 -050023 QuicStreamIdManager* stream_id_manager,
fkastenholz3c4eabf2019-04-22 07:49:59 -070024 QuicStreamCount count);
25
26 static QuicStreamId GetFirstIncomingStreamId(
27 QuicStreamIdManager* stream_id_manager);
QUICHE teama6ef0a62019-03-07 20:34:33 -050028};
29
30} // namespace test
31
32} // namespace quic
33
34#endif // QUICHE_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_