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/logging.h" |
11 #include "base/rand_util.h" | 11 #include "base/rand_util.h" |
12 #include "net/base/ip_endpoint.h" | 12 #include "net/base/ip_endpoint.h" |
| 13 #include "net/quic/quic_utils.h" |
13 #include "net/quic/reliable_quic_stream.h" | 14 #include "net/quic/reliable_quic_stream.h" |
14 #include "net/quic/test_tools/quic_test_utils.h" | 15 #include "net/quic/test_tools/quic_test_utils.h" |
15 #include "net/test/gtest_util.h" | 16 #include "net/test/gtest_util.h" |
16 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
18 | 19 |
19 using base::StringPiece; | 20 using base::StringPiece; |
20 using std::min; | 21 using std::min; |
21 using std::pair; | 22 using std::pair; |
22 using std::vector; | 23 using std::vector; |
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
630 | 631 |
631 if (acked) { | 632 if (acked) { |
632 list_.erase(list_.begin() + index); | 633 list_.erase(list_.begin() + index); |
633 } | 634 } |
634 } | 635 } |
635 } | 636 } |
636 | 637 |
637 } // namespace | 638 } // namespace |
638 } // namespace test | 639 } // namespace test |
639 } // namespace net | 640 } // namespace net |
OLD | NEW |