QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 1 | // Copyright 2014 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 | |
QUICHE team | 5be974e | 2020-12-29 18:35:24 -0500 | [diff] [blame] | 5 | #include "quic/test_tools/mock_quic_dispatcher.h" |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 6 | |
QUICHE team | 5be974e | 2020-12-29 18:35:24 -0500 | [diff] [blame] | 7 | #include "quic/test_tools/quic_test_utils.h" |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 8 | |
| 9 | namespace quic { |
| 10 | namespace test { |
| 11 | |
| 12 | MockQuicDispatcher::MockQuicDispatcher( |
| 13 | const QuicConfig* config, |
| 14 | const QuicCryptoServerConfig* crypto_config, |
| 15 | QuicVersionManager* version_manager, |
| 16 | std::unique_ptr<QuicConnectionHelperInterface> helper, |
nharper | 5f23a2d | 2020-02-20 10:44:09 -0800 | [diff] [blame] | 17 | std::unique_ptr<QuicCryptoServerStreamBase::Helper> session_helper, |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 18 | std::unique_ptr<QuicAlarmFactory> alarm_factory, |
| 19 | QuicSimpleServerBackend* quic_simple_server_backend) |
| 20 | : QuicSimpleDispatcher(config, |
| 21 | crypto_config, |
| 22 | version_manager, |
| 23 | std::move(helper), |
| 24 | std::move(session_helper), |
| 25 | std::move(alarm_factory), |
| 26 | quic_simple_server_backend, |
| 27 | kQuicDefaultConnectionIdLength) {} |
| 28 | |
| 29 | MockQuicDispatcher::~MockQuicDispatcher() {} |
| 30 | |
| 31 | } // namespace test |
| 32 | } // namespace quic |