| 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 "platform/scheduler/child/worker_scheduler_impl.h" | 5 #include "platform/scheduler/child/worker_scheduler_impl.h" |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
| 10 #include "base/single_thread_task_runner.h" |
| 10 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
| 11 #include "base/test/simple_test_tick_clock.h" | 12 #include "base/test/simple_test_tick_clock.h" |
| 12 #include "cc/test/ordered_simple_task_runner.h" | 13 #include "cc/test/ordered_simple_task_runner.h" |
| 13 #include "platform/scheduler/base/test_time_source.h" | 14 #include "platform/scheduler/base/test_time_source.h" |
| 14 #include "platform/scheduler/child/scheduler_tqm_delegate_for_test.h" | 15 #include "platform/scheduler/child/scheduler_tqm_delegate_for_test.h" |
| 15 #include "testing/gmock/include/gmock/gmock.h" | 16 #include "testing/gmock/include/gmock/gmock.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 17 | 18 |
| 18 using testing::ElementsAreArray; | 19 using testing::ElementsAreArray; |
| 19 | 20 |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 "Post RecordTimelineTask", | 394 "Post RecordTimelineTask", |
| 394 "RunUntilIdle begin @ 385", | 395 "RunUntilIdle begin @ 385", |
| 395 "run RecordTimelineTask @ 385", | 396 "run RecordTimelineTask @ 385", |
| 396 "RunUntilIdle end @ 385"}; | 397 "RunUntilIdle end @ 385"}; |
| 397 | 398 |
| 398 EXPECT_THAT(timeline, ElementsAreArray(expected_timeline)); | 399 EXPECT_THAT(timeline, ElementsAreArray(expected_timeline)); |
| 399 } | 400 } |
| 400 | 401 |
| 401 } // namespace scheduler | 402 } // namespace scheduler |
| 402 } // namespace blink | 403 } // namespace blink |
| OLD | NEW |