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 <ostream> | 7 #include <ostream> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/strings/string_piece.h" | 11 #include "base/strings/string_piece.h" |
12 #include "net/quic/crypto/crypto_handshake.h" | 12 #include "net/quic/crypto/crypto_handshake.h" |
13 #include "net/quic/crypto/quic_crypto_server_config.h" | 13 #include "net/quic/crypto/quic_crypto_server_config.h" |
14 #include "net/quic/crypto/quic_random.h" | 14 #include "net/quic/crypto/quic_random.h" |
15 #include "net/quic/quic_connection_helper.h" | 15 #include "net/quic/quic_chromium_connection_helper.h" |
16 #include "net/quic/quic_crypto_stream.h" | 16 #include "net/quic/quic_crypto_stream.h" |
17 #include "net/quic/quic_flags.h" | 17 #include "net/quic/quic_flags.h" |
18 #include "net/quic/quic_utils.h" | 18 #include "net/quic/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_connection_helper.h" | 22 #include "net/tools/quic/quic_epoll_connection_helper.h" |
23 #include "net/tools/quic/quic_packet_writer_wrapper.h" | 23 #include "net/tools/quic/quic_packet_writer_wrapper.h" |
24 #include "net/tools/quic/quic_time_wait_list_manager.h" | 24 #include "net/tools/quic/quic_time_wait_list_manager.h" |
25 #include "net/tools/quic/test_tools/mock_quic_time_wait_list_manager.h" | 25 #include "net/tools/quic/test_tools/mock_quic_time_wait_list_manager.h" |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 // And we'll resume where we left off when we get another call. | 755 // And we'll resume where we left off when we get another call. |
756 EXPECT_CALL(*connection2(), OnCanWrite()); | 756 EXPECT_CALL(*connection2(), OnCanWrite()); |
757 dispatcher_.OnCanWrite(); | 757 dispatcher_.OnCanWrite(); |
758 EXPECT_FALSE(dispatcher_.HasPendingWrites()); | 758 EXPECT_FALSE(dispatcher_.HasPendingWrites()); |
759 } | 759 } |
760 | 760 |
761 } // namespace | 761 } // namespace |
762 } // namespace test | 762 } // namespace test |
763 } // namespace tools | 763 } // namespace tools |
764 } // namespace net | 764 } // namespace net |
OLD | NEW |