| 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 using net::test::kInitialFlowControlWindowForTest; | 9 using net::test::kInitialFlowControlWindowForTest; |
| 10 | 10 |
| 11 namespace net { | 11 namespace net { |
| 12 namespace tools { | 12 namespace tools { |
| 13 namespace test { | 13 namespace test { |
| 14 | 14 |
| 15 MockQuicDispatcher::MockQuicDispatcher( | 15 MockQuicDispatcher::MockQuicDispatcher( |
| 16 const QuicConfig& config, | 16 const QuicConfig& config, |
| 17 const QuicCryptoServerConfig& crypto_config, | 17 const QuicCryptoServerConfig& crypto_config, |
| 18 EpollServer* eps) | 18 EpollServer* eps) |
| 19 : QuicDispatcher(config, | 19 : QuicDispatcher(config, |
| 20 crypto_config, | 20 crypto_config, |
| 21 QuicSupportedVersions(), | 21 QuicSupportedVersions(), |
| 22 eps, | 22 eps) {} |
| 23 kInitialFlowControlWindowForTest) {} | |
| 24 | 23 |
| 25 MockQuicDispatcher::~MockQuicDispatcher() {} | 24 MockQuicDispatcher::~MockQuicDispatcher() {} |
| 26 | 25 |
| 27 } // namespace test | 26 } // namespace test |
| 28 } // namespace tools | 27 } // namespace tools |
| 29 } // namespace net | 28 } // namespace net |
| OLD | NEW |