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

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

Issue 467963002: Refactoring: Create per-connection packet writers in QuicDispatcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More review comments Created 6 years, 4 months 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 QuicDispatcher::PacketWriterFactory* packet_writer_factory,
15 QuicConnectionHelperInterface* helper) 16 QuicConnectionHelperInterface* helper)
16 : QuicDispatcher(config, crypto_config, QuicSupportedVersions(), helper) { 17 : QuicDispatcher(config,
18 crypto_config,
19 QuicSupportedVersions(),
20 packet_writer_factory,
21 helper) {
17 } 22 }
18 23
19 MockQuicDispatcher::~MockQuicDispatcher() { 24 MockQuicDispatcher::~MockQuicDispatcher() {
20 } 25 }
21 26
22 } // namespace test 27 } // namespace test
23 } // namespace net 28 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698