OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include <list> | 7 #include <list> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "media/base/test_random.h" |
10 #include "media/blink/lru.h" | 11 #include "media/blink/lru.h" |
11 #include "media/blink/test_random.h" | |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 | 13 |
14 // Range of integer used in tests below. | 14 // Range of integer used in tests below. |
15 // We keep the integers small to get lots of re-use of integers. | 15 // We keep the integers small to get lots of re-use of integers. |
16 const int kTestIntRange = 16; | 16 const int kTestIntRange = 16; |
17 | 17 |
18 namespace media { | 18 namespace media { |
19 | 19 |
20 class LRUTest; | 20 class LRUTest; |
21 | 21 |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 break; | 228 break; |
229 } | 229 } |
230 if (HasFailure()) { | 230 if (HasFailure()) { |
231 return; | 231 return; |
232 } | 232 } |
233 } | 233 } |
234 } | 234 } |
235 } | 235 } |
236 | 236 |
237 } // namespace media | 237 } // namespace media |
OLD | NEW |