Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(760)

Side by Side Diff: net/tools/quic/test_tools/quic_test_server.cc

Issue 2848203002: Add a platform implementation of QuicTest and QuicTestWithParam (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« net/quic/platform/impl/quic_test_impl.h ('K') | « net/tools/quic/stateless_rejector_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698