| 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/quic/quic_connection.h" | 5 #include "net/quic/core/quic_connection.h" |
| 6 | 6 |
| 7 #include <errno.h> | 7 #include <errno.h> |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <ostream> | 9 #include <ostream> |
| 10 #include <utility> | 10 #include <utility> |
| 11 | 11 |
| 12 #include "base/bind.h" | 12 #include "base/bind.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
| 15 #include "net/base/ip_address.h" | 15 #include "net/base/ip_address.h" |
| 16 #include "net/base/net_errors.h" | 16 #include "net/base/net_errors.h" |
| 17 #include "net/quic/congestion_control/loss_detection_interface.h" | 17 #include "net/quic/core/congestion_control/loss_detection_interface.h" |
| 18 #include "net/quic/congestion_control/send_algorithm_interface.h" | 18 #include "net/quic/core/congestion_control/send_algorithm_interface.h" |
| 19 #include "net/quic/crypto/null_encrypter.h" | 19 #include "net/quic/core/crypto/null_encrypter.h" |
| 20 #include "net/quic/crypto/quic_decrypter.h" | 20 #include "net/quic/core/crypto/quic_decrypter.h" |
| 21 #include "net/quic/crypto/quic_encrypter.h" | 21 #include "net/quic/core/crypto/quic_encrypter.h" |
| 22 #include "net/quic/quic_flags.h" | 22 #include "net/quic/core/quic_flags.h" |
| 23 #include "net/quic/quic_protocol.h" | 23 #include "net/quic/core/quic_protocol.h" |
| 24 #include "net/quic/quic_simple_buffer_allocator.h" | 24 #include "net/quic/core/quic_simple_buffer_allocator.h" |
| 25 #include "net/quic/quic_utils.h" | 25 #include "net/quic/core/quic_utils.h" |
| 26 #include "net/quic/test_tools/mock_clock.h" | 26 #include "net/quic/test_tools/mock_clock.h" |
| 27 #include "net/quic/test_tools/mock_random.h" | 27 #include "net/quic/test_tools/mock_random.h" |
| 28 #include "net/quic/test_tools/quic_config_peer.h" | 28 #include "net/quic/test_tools/quic_config_peer.h" |
| 29 #include "net/quic/test_tools/quic_connection_peer.h" | 29 #include "net/quic/test_tools/quic_connection_peer.h" |
| 30 #include "net/quic/test_tools/quic_framer_peer.h" | 30 #include "net/quic/test_tools/quic_framer_peer.h" |
| 31 #include "net/quic/test_tools/quic_packet_creator_peer.h" | 31 #include "net/quic/test_tools/quic_packet_creator_peer.h" |
| 32 #include "net/quic/test_tools/quic_packet_generator_peer.h" | 32 #include "net/quic/test_tools/quic_packet_generator_peer.h" |
| 33 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" | 33 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" |
| 34 #include "net/quic/test_tools/quic_test_utils.h" | 34 #include "net/quic/test_tools/quic_test_utils.h" |
| 35 #include "net/quic/test_tools/simple_quic_framer.h" | 35 #include "net/quic/test_tools/simple_quic_framer.h" |
| (...skipping 4904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4940 frame1_.data_length = data->length(); | 4940 frame1_.data_length = data->length(); |
| 4941 | 4941 |
| 4942 EXPECT_CALL(visitor_, OnConnectionClosed(QUIC_MAYBE_CORRUPTED_MEMORY, _, | 4942 EXPECT_CALL(visitor_, OnConnectionClosed(QUIC_MAYBE_CORRUPTED_MEMORY, _, |
| 4943 ConnectionCloseSource::FROM_SELF)); | 4943 ConnectionCloseSource::FROM_SELF)); |
| 4944 ProcessFramePacket(QuicFrame(&frame1_)); | 4944 ProcessFramePacket(QuicFrame(&frame1_)); |
| 4945 } | 4945 } |
| 4946 | 4946 |
| 4947 } // namespace | 4947 } // namespace |
| 4948 } // namespace test | 4948 } // namespace test |
| 4949 } // namespace net | 4949 } // namespace net |
| OLD | NEW |