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_stream_sequencer.h" | 5 #include "net/quic/quic_stream_sequencer.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/logging.h" |
10 #include "base/rand_util.h" | 11 #include "base/rand_util.h" |
11 #include "net/base/ip_endpoint.h" | 12 #include "net/base/ip_endpoint.h" |
12 #include "net/quic/reliable_quic_stream.h" | 13 #include "net/quic/reliable_quic_stream.h" |
13 #include "net/quic/test_tools/quic_test_utils.h" | 14 #include "net/quic/test_tools/quic_test_utils.h" |
14 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
16 | 17 |
17 using base::StringPiece; | 18 using base::StringPiece; |
18 using std::min; | 19 using std::min; |
19 using std::pair; | 20 using std::pair; |
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 | 606 |
606 if (acked) { | 607 if (acked) { |
607 list_.erase(list_.begin() + index); | 608 list_.erase(list_.begin() + index); |
608 } | 609 } |
609 } | 610 } |
610 } | 611 } |
611 | 612 |
612 } // namespace | 613 } // namespace |
613 } // namespace test | 614 } // namespace test |
614 } // namespace net | 615 } // namespace net |
OLD | NEW |