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/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/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_chromium_connection_helper.h" |
17 #include "net/quic/quic_config.h" | 17 #include "net/quic/quic_config.h" |
18 #include "net/quic/quic_connection.h" | 18 #include "net/quic/quic_connection.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" |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 crypto_config, | 190 crypto_config, |
191 compressed_certs_cache) {} | 191 compressed_certs_cache) {} |
192 | 192 |
193 void ImmediateGoAwaySession::OnStreamFrame(const QuicStreamFrame& frame) { | 193 void ImmediateGoAwaySession::OnStreamFrame(const QuicStreamFrame& frame) { |
194 SendGoAway(QUIC_PEER_GOING_AWAY, ""); | 194 SendGoAway(QUIC_PEER_GOING_AWAY, ""); |
195 QuicSimpleServerSession::OnStreamFrame(frame); | 195 QuicSimpleServerSession::OnStreamFrame(frame); |
196 } | 196 } |
197 | 197 |
198 } // namespace test | 198 } // namespace test |
199 } // namespace net | 199 } // namespace net |
OLD | NEW |