| 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/base/priority_queue.h" | 5 #include "net/base/priority_queue.h" |
| 6 #include "testing/gtest/include/gtest/gtest.h" | 6 #include "testing/gtest/include/gtest/gtest.h" |
| 7 | 7 |
| 8 namespace net { | 8 namespace net { |
| 9 | 9 |
| 10 namespace { | 10 namespace { |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 EXPECT_EQ(expected_order[i], queue.FirstMin().value()); | 123 EXPECT_EQ(expected_order[i], queue.FirstMin().value()); |
| 124 queue.Erase(queue.FirstMin()); | 124 queue.Erase(queue.FirstMin()); |
| 125 } | 125 } |
| 126 CheckEmpty(&queue); | 126 CheckEmpty(&queue); |
| 127 } | 127 } |
| 128 | 128 |
| 129 } // namespace | 129 } // namespace |
| 130 | 130 |
| 131 } // namespace net | 131 } // namespace net |
| 132 | 132 |
| 133 |
| OLD | NEW |