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/threading/thread_task_runner_handle.h" | 10 #include "base/threading/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/chromium/quic_chromium_connection_helper.h" | 13 #include "net/quic/chromium/quic_chromium_connection_helper.h" |
14 #include "net/quic/crypto/crypto_handshake.h" | 14 #include "net/quic/core/crypto/crypto_handshake.h" |
15 #include "net/quic/crypto/quic_crypto_server_config.h" | 15 #include "net/quic/core/crypto/quic_crypto_server_config.h" |
16 #include "net/quic/crypto/quic_random.h" | 16 #include "net/quic/core/crypto/quic_random.h" |
17 #include "net/quic/quic_config.h" | 17 #include "net/quic/core/quic_config.h" |
18 #include "net/quic/quic_connection.h" | 18 #include "net/quic/core/quic_connection.h" |
19 #include "net/quic/quic_packet_writer.h" | 19 #include "net/quic/core/quic_packet_writer.h" |
20 #include "net/quic/quic_protocol.h" | 20 #include "net/quic/core/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_alarm_factory.h" | 22 #include "net/tools/quic/quic_epoll_alarm_factory.h" |
23 #include "net/tools/quic/quic_epoll_connection_helper.h" | 23 #include "net/tools/quic/quic_epoll_connection_helper.h" |
24 #include "net/tools/quic/quic_simple_server_session.h" | 24 #include "net/tools/quic/quic_simple_server_session.h" |
25 #include "net/tools/quic/quic_simple_server_session_helper.h" | 25 #include "net/tools/quic/quic_simple_server_session_helper.h" |
26 #include "net/tools/quic/quic_simple_server_stream.h" | 26 #include "net/tools/quic/quic_simple_server_stream.h" |
27 | 27 |
28 namespace net { | 28 namespace net { |
29 namespace test { | 29 namespace test { |
30 | 30 |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 crypto_config, | 201 crypto_config, |
202 compressed_certs_cache) {} | 202 compressed_certs_cache) {} |
203 | 203 |
204 void ImmediateGoAwaySession::OnStreamFrame(const QuicStreamFrame& frame) { | 204 void ImmediateGoAwaySession::OnStreamFrame(const QuicStreamFrame& frame) { |
205 SendGoAway(QUIC_PEER_GOING_AWAY, ""); | 205 SendGoAway(QUIC_PEER_GOING_AWAY, ""); |
206 QuicSimpleServerSession::OnStreamFrame(frame); | 206 QuicSimpleServerSession::OnStreamFrame(frame); |
207 } | 207 } |
208 | 208 |
209 } // namespace test | 209 } // namespace test |
210 } // namespace net | 210 } // namespace net |
OLD | NEW |