| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "cc/base/worker_pool.h" | 5 #include "cc/resources/worker_pool.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "cc/base/completion_event.h" | 9 #include "cc/base/completion_event.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 11 | 11 |
| 12 namespace cc { | 12 namespace cc { |
| 13 | 13 |
| 14 namespace { | 14 namespace { |
| 15 | 15 |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 EXPECT_EQ(1u, run_task_ids()[3]); | 197 EXPECT_EQ(1u, run_task_ids()[3]); |
| 198 EXPECT_EQ(1u, run_task_ids()[4]); | 198 EXPECT_EQ(1u, run_task_ids()[4]); |
| 199 ASSERT_EQ(3u, on_task_completed_ids().size()); | 199 ASSERT_EQ(3u, on_task_completed_ids().size()); |
| 200 EXPECT_EQ(1u, on_task_completed_ids()[1]); | 200 EXPECT_EQ(1u, on_task_completed_ids()[1]); |
| 201 EXPECT_EQ(1u, on_task_completed_ids()[2]); | 201 EXPECT_EQ(1u, on_task_completed_ids()[2]); |
| 202 } | 202 } |
| 203 | 203 |
| 204 } // namespace | 204 } // namespace |
| 205 | 205 |
| 206 } // namespace cc | 206 } // namespace cc |
| OLD | NEW |