| 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/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
| 9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
| 10 #include "base/synchronization/lock.h" | 10 #include "base/synchronization/lock.h" |
| 11 #include "base/threading/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.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/core/crypto/crypto_handshake.h" | 14 #include "net/quic/core/crypto/crypto_handshake.h" |
| 15 #include "net/quic/core/crypto/quic_crypto_server_config.h" | 15 #include "net/quic/core/crypto/quic_crypto_server_config.h" |
| 16 #include "net/quic/core/crypto/quic_random.h" | 16 #include "net/quic/core/crypto/quic_random.h" |
| 17 #include "net/quic/core/quic_config.h" | 17 #include "net/quic/core/quic_config.h" |
| 18 #include "net/quic/core/quic_connection.h" | 18 #include "net/quic/core/quic_connection.h" |
| 19 #include "net/quic/core/quic_packet_writer.h" | 19 #include "net/quic/core/quic_packet_writer.h" |
| 20 #include "net/quic/core/quic_protocol.h" | 20 #include "net/quic/core/quic_packets.h" |
| 21 #include "net/tools/quic/quic_epoll_alarm_factory.h" | 21 #include "net/tools/quic/quic_epoll_alarm_factory.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_crypto_server_stream_helper.h" | 23 #include "net/tools/quic/quic_simple_crypto_server_stream_helper.h" |
| 24 #include "net/tools/quic/quic_simple_dispatcher.h" | 24 #include "net/tools/quic/quic_simple_dispatcher.h" |
| 25 #include "net/tools/quic/quic_simple_server_session.h" | 25 #include "net/tools/quic/quic_simple_server_session.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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 compressed_certs_cache, | 214 compressed_certs_cache, |
| 215 in_memory_cache) {} | 215 in_memory_cache) {} |
| 216 | 216 |
| 217 void ImmediateGoAwaySession::OnStreamFrame(const QuicStreamFrame& frame) { | 217 void ImmediateGoAwaySession::OnStreamFrame(const QuicStreamFrame& frame) { |
| 218 SendGoAway(QUIC_PEER_GOING_AWAY, ""); | 218 SendGoAway(QUIC_PEER_GOING_AWAY, ""); |
| 219 QuicSimpleServerSession::OnStreamFrame(frame); | 219 QuicSimpleServerSession::OnStreamFrame(frame); |
| 220 } | 220 } |
| 221 | 221 |
| 222 } // namespace test | 222 } // namespace test |
| 223 } // namespace net | 223 } // namespace net |
| OLD | NEW |