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

Side by Side Diff: net/tools/quic/quic_simple_dispatcher.h

Issue 2322233004: Landing Recent QUIC changes until Sun Sep 4 03:41:00 (Closed)
Patch Set: Remove simulation files from the build. Created 4 years, 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef NET_TOOLS_QUIC_QUIC_SIMPLE_DISPATCHER_H_ 5 #ifndef NET_TOOLS_QUIC_QUIC_SIMPLE_DISPATCHER_H_
6 #define NET_TOOLS_QUIC_QUIC_SIMPLE_DISPATCHER_H_ 6 #define NET_TOOLS_QUIC_QUIC_SIMPLE_DISPATCHER_H_
7 7
8 #include "net/tools/quic/quic_dispatcher.h" 8 #include "net/tools/quic/quic_dispatcher.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 class QuicSimpleDispatcher : public QuicDispatcher { 12 class QuicSimpleDispatcher : public QuicDispatcher {
13 public: 13 public:
14 QuicSimpleDispatcher( 14 QuicSimpleDispatcher(
15 const QuicConfig& config, 15 const QuicConfig& config,
16 const QuicCryptoServerConfig* crypto_config, 16 const QuicCryptoServerConfig* crypto_config,
17 QuicVersionManager* version_manager, 17 QuicVersionManager* version_manager,
18 std::unique_ptr<QuicConnectionHelperInterface> helper, 18 std::unique_ptr<QuicConnectionHelperInterface> helper,
19 std::unique_ptr<QuicServerSessionBase::Helper> session_helper, 19 std::unique_ptr<QuicCryptoServerStream::Helper> session_helper,
20 std::unique_ptr<QuicAlarmFactory> alarm_factory); 20 std::unique_ptr<QuicAlarmFactory> alarm_factory);
21 21
22 ~QuicSimpleDispatcher() override; 22 ~QuicSimpleDispatcher() override;
23 23
24 protected: 24 protected:
25 QuicServerSessionBase* CreateQuicSession( 25 QuicServerSessionBase* CreateQuicSession(
26 QuicConnectionId connection_id, 26 QuicConnectionId connection_id,
27 const IPEndPoint& client_address) override; 27 const IPEndPoint& client_address) override;
28 }; 28 };
29 29
30 } // namespace net 30 } // namespace net
31 31
32 #endif // NET_TOOLS_QUIC_QUIC_SIMPLE_DISPATCHER_H_ 32 #endif // NET_TOOLS_QUIC_QUIC_SIMPLE_DISPATCHER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_simple_crypto_server_stream_helper.cc ('k') | net/tools/quic/quic_simple_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698