OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/quic_dispatcher.h" | 5 #include "net/tools/quic/quic_dispatcher.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <ostream> | 8 #include <ostream> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/strings/string_piece.h" | 12 #include "base/strings/string_piece.h" |
13 #include "net/quic/crypto/crypto_handshake.h" | 13 #include "net/quic/core/crypto/crypto_handshake.h" |
14 #include "net/quic/crypto/quic_crypto_server_config.h" | 14 #include "net/quic/core/crypto/quic_crypto_server_config.h" |
15 #include "net/quic/crypto/quic_random.h" | 15 #include "net/quic/core/crypto/quic_random.h" |
16 #include "net/quic/quic_crypto_stream.h" | 16 #include "net/quic/core/quic_crypto_stream.h" |
17 #include "net/quic/quic_flags.h" | 17 #include "net/quic/core/quic_flags.h" |
18 #include "net/quic/quic_utils.h" | 18 #include "net/quic/core/quic_utils.h" |
19 #include "net/quic/test_tools/crypto_test_utils.h" | 19 #include "net/quic/test_tools/crypto_test_utils.h" |
20 #include "net/quic/test_tools/quic_test_utils.h" | 20 #include "net/quic/test_tools/quic_test_utils.h" |
21 #include "net/tools/epoll_server/epoll_server.h" | 21 #include "net/tools/epoll_server/epoll_server.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_packet_writer_wrapper.h" | 24 #include "net/tools/quic/quic_packet_writer_wrapper.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_time_wait_list_manager.h" | 26 #include "net/tools/quic/quic_time_wait_list_manager.h" |
27 #include "net/tools/quic/test_tools/mock_quic_time_wait_list_manager.h" | 27 #include "net/tools/quic/test_tools/mock_quic_time_wait_list_manager.h" |
28 #include "net/tools/quic/test_tools/quic_dispatcher_peer.h" | 28 #include "net/tools/quic/test_tools/quic_dispatcher_peer.h" |
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
921 | 921 |
922 // And we'll resume where we left off when we get another call. | 922 // And we'll resume where we left off when we get another call. |
923 EXPECT_CALL(*connection2(), OnCanWrite()); | 923 EXPECT_CALL(*connection2(), OnCanWrite()); |
924 dispatcher_->OnCanWrite(); | 924 dispatcher_->OnCanWrite(); |
925 EXPECT_FALSE(dispatcher_->HasPendingWrites()); | 925 EXPECT_FALSE(dispatcher_->HasPendingWrites()); |
926 } | 926 } |
927 | 927 |
928 } // namespace | 928 } // namespace |
929 } // namespace test | 929 } // namespace test |
930 } // namespace net | 930 } // namespace net |
OLD | NEW |