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/core/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 "net/quic/core/quic_flags.h" | 9 #include "net/quic/core/quic_pending_retransmission.h" |
| 10 #include "net/quic/platform/api/quic_flags.h" |
10 #include "net/quic/platform/api/quic_ptr_util.h" | 11 #include "net/quic/platform/api/quic_ptr_util.h" |
11 #include "net/quic/platform/api/quic_string_piece.h" | 12 #include "net/quic/platform/api/quic_string_piece.h" |
12 #include "net/quic/test_tools/quic_config_peer.h" | 13 #include "net/quic/test_tools/quic_config_peer.h" |
13 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" | 14 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" |
14 #include "net/quic/test_tools/quic_test_utils.h" | 15 #include "net/quic/test_tools/quic_test_utils.h" |
15 #include "testing/gmock/include/gmock/gmock.h" | 16 #include "testing/gmock/include/gmock/gmock.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
17 | 18 |
18 using testing::AnyNumber; | 19 using testing::AnyNumber; |
19 using testing::ElementsAre; | 20 using testing::ElementsAre; |
(...skipping 1710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1730 ExpectAck(1); | 1731 ExpectAck(1); |
1731 EXPECT_CALL(*network_change_visitor_, | 1732 EXPECT_CALL(*network_change_visitor_, |
1732 OnPathMtuIncreased(kDefaultLength + 100)); | 1733 OnPathMtuIncreased(kDefaultLength + 100)); |
1733 QuicAckFrame ack_frame = InitAckFrame(1); | 1734 QuicAckFrame ack_frame = InitAckFrame(1); |
1734 manager_.OnIncomingAck(ack_frame, clock_.Now()); | 1735 manager_.OnIncomingAck(ack_frame, clock_.Now()); |
1735 } | 1736 } |
1736 | 1737 |
1737 } // namespace | 1738 } // namespace |
1738 } // namespace test | 1739 } // namespace test |
1739 } // namespace net | 1740 } // namespace net |
OLD | NEW |