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 "net/quic/platform/api/quic_ptr_util.h" | 7 #include "net/quic/platform/api/quic_ptr_util.h" |
| 8 #include "net/quic/platform/api/quic_test.h" |
8 #include "net/tools/quic/quic_epoll_alarm_factory.h" | 9 #include "net/tools/quic/quic_epoll_alarm_factory.h" |
9 #include "net/tools/quic/quic_epoll_connection_helper.h" | 10 #include "net/tools/quic/quic_epoll_connection_helper.h" |
10 #include "net/tools/quic/quic_simple_crypto_server_stream_helper.h" | 11 #include "net/tools/quic/quic_simple_crypto_server_stream_helper.h" |
11 #include "net/tools/quic/quic_simple_dispatcher.h" | 12 #include "net/tools/quic/quic_simple_dispatcher.h" |
12 #include "net/tools/quic/quic_simple_server_session.h" | 13 #include "net/tools/quic/quic_simple_server_session.h" |
13 | 14 |
14 namespace net { | 15 namespace net { |
15 | 16 |
16 namespace test { | 17 namespace test { |
17 | 18 |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 response_cache) {} | 203 response_cache) {} |
203 | 204 |
204 void ImmediateGoAwaySession::OnStreamFrame(const QuicStreamFrame& frame) { | 205 void ImmediateGoAwaySession::OnStreamFrame(const QuicStreamFrame& frame) { |
205 SendGoAway(QUIC_PEER_GOING_AWAY, ""); | 206 SendGoAway(QUIC_PEER_GOING_AWAY, ""); |
206 QuicSimpleServerSession::OnStreamFrame(frame); | 207 QuicSimpleServerSession::OnStreamFrame(frame); |
207 } | 208 } |
208 | 209 |
209 } // namespace test | 210 } // namespace test |
210 | 211 |
211 } // namespace net | 212 } // namespace net |
OLD | NEW |