OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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/tools/quic/test_tools/quic_test_server.h" | 5 #include "net/tools/quic/test_tools/quic_test_server.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
9 #include "base/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/thread_task_runner_handle.h" |
11 #include "net/base/ip_endpoint.h" | 11 #include "net/base/ip_endpoint.h" |
12 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
13 #include "net/quic/crypto/crypto_handshake.h" | 13 #include "net/quic/crypto/crypto_handshake.h" |
14 #include "net/quic/crypto/quic_crypto_server_config.h" | 14 #include "net/quic/crypto/quic_crypto_server_config.h" |
15 #include "net/quic/crypto/quic_random.h" | 15 #include "net/quic/crypto/quic_random.h" |
| 16 #include "net/quic/quic_chromium_connection_helper.h" |
16 #include "net/quic/quic_config.h" | 17 #include "net/quic/quic_config.h" |
17 #include "net/quic/quic_connection.h" | 18 #include "net/quic/quic_connection.h" |
18 #include "net/quic/quic_connection_helper.h" | |
19 #include "net/quic/quic_packet_writer.h" | 19 #include "net/quic/quic_packet_writer.h" |
20 #include "net/quic/quic_protocol.h" | 20 #include "net/quic/quic_protocol.h" |
21 #include "net/tools/quic/quic_dispatcher.h" | 21 #include "net/tools/quic/quic_dispatcher.h" |
22 #include "net/tools/quic/quic_epoll_connection_helper.h" | 22 #include "net/tools/quic/quic_epoll_connection_helper.h" |
23 #include "net/tools/quic/quic_simple_server_session.h" | 23 #include "net/tools/quic/quic_simple_server_session.h" |
24 #include "net/tools/quic/quic_simple_server_stream.h" | 24 #include "net/tools/quic/quic_simple_server_stream.h" |
25 | 25 |
26 namespace net { | 26 namespace net { |
27 namespace tools { | 27 namespace tools { |
28 namespace test { | 28 namespace test { |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 QuicConnection* connection, | 162 QuicConnection* connection, |
163 QuicServerSessionVisitor* visitor, | 163 QuicServerSessionVisitor* visitor, |
164 const QuicCryptoServerConfig* crypto_config) | 164 const QuicCryptoServerConfig* crypto_config) |
165 : QuicSimpleServerSession(config, connection, visitor, crypto_config) { | 165 : QuicSimpleServerSession(config, connection, visitor, crypto_config) { |
166 SendGoAway(QUIC_PEER_GOING_AWAY, ""); | 166 SendGoAway(QUIC_PEER_GOING_AWAY, ""); |
167 } | 167 } |
168 | 168 |
169 } // namespace test | 169 } // namespace test |
170 } // namespace tools | 170 } // namespace tools |
171 } // namespace net | 171 } // namespace net |
OLD | NEW |