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