QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 1 | // 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 | |
fkastenholz | 3c4eabf | 2019-04-22 07:49:59 -0700 | [diff] [blame] | 9 | #include "net/third_party/quiche/src/quic/core/quic_types.h" |
| 10 | |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 11 | namespace quic { |
| 12 | |
| 13 | class QuicStreamIdManager; |
fkastenholz | 3c4eabf | 2019-04-22 07:49:59 -0700 | [diff] [blame] | 14 | class UberQuicStreamIdManager; |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 15 | |
| 16 | namespace test { |
| 17 | |
| 18 | class QuicStreamIdManagerPeer { |
| 19 | public: |
| 20 | QuicStreamIdManagerPeer() = delete; |
fkastenholz | 3c4eabf | 2019-04-22 07:49:59 -0700 | [diff] [blame] | 21 | |
| 22 | static void set_incoming_actual_max_streams( |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 23 | QuicStreamIdManager* stream_id_manager, |
fkastenholz | 3c4eabf | 2019-04-22 07:49:59 -0700 | [diff] [blame] | 24 | QuicStreamCount count); |
| 25 | |
| 26 | static QuicStreamId GetFirstIncomingStreamId( |
| 27 | QuicStreamIdManager* stream_id_manager); |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | } // namespace test |
| 31 | |
| 32 | } // namespace quic |
| 33 | |
| 34 | #endif // QUICHE_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_ |