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

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

Issue 2535283002: Move QuicVersionManager into standalone .h/.cc. No behavior change. (Closed)
Patch Set: Rebase 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
« no previous file with comments | « net/tools/quic/quic_server.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // A toy server, which listens on a specified address for QUIC traffic and 5 // A toy server, which listens on a specified address for QUIC traffic and
6 // handles incoming responses. 6 // handles incoming responses.
7 7
8 #ifndef NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_H_ 8 #ifndef NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_H_
9 #define NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_H_ 9 #define NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_H_
10 10
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "net/base/io_buffer.h" 14 #include "net/base/io_buffer.h"
15 #include "net/base/ip_endpoint.h" 15 #include "net/base/ip_endpoint.h"
16 #include "net/log/net_log.h" 16 #include "net/log/net_log.h"
17 #include "net/quic/chromium/quic_chromium_alarm_factory.h" 17 #include "net/quic/chromium/quic_chromium_alarm_factory.h"
18 #include "net/quic/chromium/quic_chromium_connection_helper.h" 18 #include "net/quic/chromium/quic_chromium_connection_helper.h"
19 #include "net/quic/core/crypto/quic_crypto_server_config.h" 19 #include "net/quic/core/crypto/quic_crypto_server_config.h"
20 #include "net/quic/core/quic_clock.h" 20 #include "net/quic/core/quic_clock.h"
21 #include "net/quic/core/quic_config.h" 21 #include "net/quic/core/quic_config.h"
22 #include "net/quic/core/quic_version_manager.h"
22 #include "net/tools/quic/quic_in_memory_cache.h" 23 #include "net/tools/quic/quic_in_memory_cache.h"
23 24
24 namespace net { 25 namespace net {
25 26
26 class UDPServerSocket; 27 class UDPServerSocket;
27 28
28 29
29 class QuicDispatcher; 30 class QuicDispatcher;
30 31
31 namespace test { 32 namespace test {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 QuicInMemoryCache* in_memory_cache_; 117 QuicInMemoryCache* in_memory_cache_;
117 118
118 base::WeakPtrFactory<QuicSimpleServer> weak_factory_; 119 base::WeakPtrFactory<QuicSimpleServer> weak_factory_;
119 120
120 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServer); 121 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServer);
121 }; 122 };
122 123
123 } // namespace net 124 } // namespace net
124 125
125 #endif // NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_H_ 126 #endif // NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_server.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698