OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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/quic/test_tools/mock_quic_dispatcher.h" | 5 #include "net/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 test { | 12 namespace test { |
13 | 13 |
14 MockQuicDispatcher::MockQuicDispatcher( | 14 MockQuicDispatcher::MockQuicDispatcher( |
15 const QuicConfig& config, | 15 const QuicConfig& config, |
16 const QuicCryptoServerConfig& crypto_config, | 16 const QuicCryptoServerConfig& crypto_config, |
17 QuicConnectionHelperInterface* helper) | 17 QuicConnectionHelperInterface* helper) |
18 : QuicDispatcher(config, | 18 : QuicDispatcher(config, crypto_config, QuicSupportedVersions(), helper) { |
19 crypto_config, | |
20 QuicSupportedVersions(), | |
21 helper, | |
22 kInitialFlowControlWindowForTest) { | |
23 } | 19 } |
24 | 20 |
25 MockQuicDispatcher::~MockQuicDispatcher() { | 21 MockQuicDispatcher::~MockQuicDispatcher() { |
26 } | 22 } |
27 | 23 |
28 } // namespace test | 24 } // namespace test |
29 } // namespace net | 25 } // namespace net |
OLD | NEW |