| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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_buffered_packet_store.h" | 5 #include "net/quic/core/quic_buffered_packet_store.h" |
| 6 | 6 |
| 7 #include <list> | 7 #include <list> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "net/quic/core/quic_flags.h" | 10 #include "net/quic/platform/api/quic_flags.h" |
| 11 #include "net/quic/test_tools/mock_clock.h" | 11 #include "net/quic/test_tools/mock_clock.h" |
| 12 #include "net/quic/test_tools/quic_buffered_packet_store_peer.h" | 12 #include "net/quic/test_tools/quic_buffered_packet_store_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::string; | 17 using std::string; |
| 18 | 18 |
| 19 namespace net { | 19 namespace net { |
| 20 | 20 |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 EXPECT_FALSE(store_.HasBufferedPackets(connection_id)); | 477 EXPECT_FALSE(store_.HasBufferedPackets(connection_id)); |
| 478 EXPECT_FALSE(store_.HasChlosBuffered()); | 478 EXPECT_FALSE(store_.HasChlosBuffered()); |
| 479 store_.DiscardPackets(connection_id); | 479 store_.DiscardPackets(connection_id); |
| 480 EXPECT_FALSE(store_.HasBufferedPackets(connection_id)); | 480 EXPECT_FALSE(store_.HasBufferedPackets(connection_id)); |
| 481 EXPECT_FALSE(store_.HasChlosBuffered()); | 481 EXPECT_FALSE(store_.HasChlosBuffered()); |
| 482 } | 482 } |
| 483 | 483 |
| 484 } // namespace | 484 } // namespace |
| 485 } // namespace test | 485 } // namespace test |
| 486 } // namespace net | 486 } // namespace net |
| OLD | NEW |