| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/tools/quic/test_tools/mock_quic_dispatcher.h" | 5 #include "net/tools/quic/test_tools/mock_quic_dispatcher.h" |
| 6 | 6 |
| 7 #include "net/quic/test_tools/quic_test_utils.h" | 7 #include "net/quic/test_tools/quic_test_utils.h" |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 namespace tools { | 10 namespace tools { |
| 11 namespace test { | 11 namespace test { |
| 12 | 12 |
| 13 MockQuicDispatcher::MockQuicDispatcher( | 13 MockQuicDispatcher::MockQuicDispatcher( |
| 14 const QuicConfig& config, | 14 const QuicConfig& config, |
| 15 const QuicCryptoServerConfig& crypto_config, | 15 const QuicCryptoServerConfig& crypto_config, |
| 16 QuicDispatcher::PacketWriterFactory* packet_writer_factory, |
| 16 EpollServer* eps) | 17 EpollServer* eps) |
| 17 : QuicDispatcher(config, | 18 : QuicDispatcher(config, |
| 18 crypto_config, | 19 crypto_config, |
| 19 QuicSupportedVersions(), | 20 QuicSupportedVersions(), |
| 21 packet_writer_factory, |
| 20 eps) {} | 22 eps) {} |
| 21 | 23 |
| 22 MockQuicDispatcher::~MockQuicDispatcher() {} | 24 MockQuicDispatcher::~MockQuicDispatcher() {} |
| 23 | 25 |
| 24 } // namespace test | 26 } // namespace test |
| 25 } // namespace tools | 27 } // namespace tools |
| 26 } // namespace net | 28 } // namespace net |
| OLD | NEW |