| 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/base/task_queue_manager_delegate_for_test.h" | 5 #include "platform/scheduler/base/task_queue_manager_delegate_for_test.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 bool TaskQueueManagerDelegateForTest::RunsTasksOnCurrentThread() const { | 46 bool TaskQueueManagerDelegateForTest::RunsTasksOnCurrentThread() const { |
| 47 return task_runner_->RunsTasksOnCurrentThread(); | 47 return task_runner_->RunsTasksOnCurrentThread(); |
| 48 } | 48 } |
| 49 | 49 |
| 50 bool TaskQueueManagerDelegateForTest::IsNested() const { | 50 bool TaskQueueManagerDelegateForTest::IsNested() const { |
| 51 return false; | 51 return false; |
| 52 } | 52 } |
| 53 | 53 |
| 54 void TaskQueueManagerDelegateForTest::AddNestingObserver( | 54 void TaskQueueManagerDelegateForTest::AddNestingObserver( |
| 55 base::MessageLoop::NestingObserver* observer) {} | 55 base::RunLoop::NestingObserver* observer) {} |
| 56 | 56 |
| 57 void TaskQueueManagerDelegateForTest::RemoveNestingObserver( | 57 void TaskQueueManagerDelegateForTest::RemoveNestingObserver( |
| 58 base::MessageLoop::NestingObserver* observer) {} | 58 base::RunLoop::NestingObserver* observer) {} |
| 59 | 59 |
| 60 base::TimeTicks TaskQueueManagerDelegateForTest::NowTicks() { | 60 base::TimeTicks TaskQueueManagerDelegateForTest::NowTicks() { |
| 61 return time_source_->NowTicks(); | 61 return time_source_->NowTicks(); |
| 62 } | 62 } |
| 63 | 63 |
| 64 } // namespace scheduler | 64 } // namespace scheduler |
| 65 } // namespace blink | 65 } // namespace blink |
| OLD | NEW |