Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(873)

Side by Side Diff: net/quic/test_tools/mock_quic_dispatcher.cc

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 namespace net { 9 namespace net {
10 namespace test { 10 namespace test {
11 11
12 MockQuicDispatcher::MockQuicDispatcher( 12 MockQuicDispatcher::MockQuicDispatcher(
13 const QuicConfig& config, 13 const QuicConfig& config,
14 const QuicCryptoServerConfig* crypto_config, 14 const QuicCryptoServerConfig* crypto_config,
15 QuicVersionManager* version_manager, 15 QuicVersionManager* version_manager,
16 std::unique_ptr<QuicConnectionHelperInterface> helper, 16 std::unique_ptr<QuicConnectionHelperInterface> helper,
17 std::unique_ptr<QuicCryptoServerStream::Helper> session_helper, 17 std::unique_ptr<QuicCryptoServerStream::Helper> session_helper,
18 std::unique_ptr<QuicAlarmFactory> alarm_factory, 18 std::unique_ptr<QuicAlarmFactory> alarm_factory,
19 QuicInMemoryCache* in_memory_cache) 19 QuicHttpResponseCache* response_cache)
20 : QuicSimpleDispatcher(config, 20 : QuicSimpleDispatcher(config,
21 crypto_config, 21 crypto_config,
22 version_manager, 22 version_manager,
23 std::move(helper), 23 std::move(helper),
24 std::move(session_helper), 24 std::move(session_helper),
25 std::move(alarm_factory), 25 std::move(alarm_factory),
26 in_memory_cache) {} 26 response_cache) {}
27 27
28 MockQuicDispatcher::~MockQuicDispatcher() {} 28 MockQuicDispatcher::~MockQuicDispatcher() {}
29 29
30 } // namespace test 30 } // namespace test
31 } // namespace net 31 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/mock_quic_dispatcher.h ('k') | net/quic/test_tools/mock_quic_spdy_client_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698