blob: ab749ed440c39a9aa5de8b1849204c4682ec17ba [file] [log] [blame]
haoyuewange3c51d92021-03-08 07:35:03 -08001// Copyright (c) 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 QUICHE_QUIC_TEST_TOOLS_QUIC_CONNECTION_ID_MANAGER_PEER_H_
6#define QUICHE_QUIC_TEST_TOOLS_QUIC_CONNECTION_ID_MANAGER_PEER_H_
7
8#include "quic/core/quic_connection_id_manager.h"
9
10namespace quic {
11namespace test {
12
13class QuicConnectionIdManagerPeer {
14 public:
15 static QuicAlarm* GetRetirePeerIssuedConnectionIdAlarm(
16 QuicPeerIssuedConnectionIdManager* manager) {
17 return manager->retire_connection_id_alarm_.get();
18 }
19
20 static QuicAlarm* GetRetireSelfIssuedConnectionIdAlarm(
21 QuicSelfIssuedConnectionIdManager* manager) {
22 return manager->retire_connection_id_alarm_.get();
23 }
24};
25
26} // namespace test
27} // namespace quic
28
29#endif // QUICHE_QUIC_TEST_TOOLS_QUIC_CONNECTION_ID_MANAGER_PEER_H_