OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_sent_packet_manager.h" | 5 #include "net/quic/core/quic_sent_packet_manager.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
10 #include "net/quic/quic_flags.h" | 10 #include "net/quic/core/quic_flags.h" |
11 #include "net/quic/test_tools/quic_config_peer.h" | 11 #include "net/quic/test_tools/quic_config_peer.h" |
12 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" | 12 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" |
13 #include "net/quic/test_tools/quic_test_utils.h" | 13 #include "net/quic/test_tools/quic_test_utils.h" |
14 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 | 16 |
17 using std::vector; | 17 using std::vector; |
18 using testing::AnyNumber; | 18 using testing::AnyNumber; |
19 using testing::ElementsAre; | 19 using testing::ElementsAre; |
20 using testing::IsEmpty; | 20 using testing::IsEmpty; |
(...skipping 1700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1721 ExpectAck(1); | 1721 ExpectAck(1); |
1722 EXPECT_CALL(*network_change_visitor_, | 1722 EXPECT_CALL(*network_change_visitor_, |
1723 OnPathMtuIncreased(kDefaultLength + 100)); | 1723 OnPathMtuIncreased(kDefaultLength + 100)); |
1724 QuicAckFrame ack_frame = InitAckFrame(1); | 1724 QuicAckFrame ack_frame = InitAckFrame(1); |
1725 manager_.OnIncomingAck(ack_frame, clock_.Now()); | 1725 manager_.OnIncomingAck(ack_frame, clock_.Now()); |
1726 } | 1726 } |
1727 | 1727 |
1728 } // namespace | 1728 } // namespace |
1729 } // namespace test | 1729 } // namespace test |
1730 } // namespace net | 1730 } // namespace net |
OLD | NEW |