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 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_TQM_DELEGAT
E_FOR_TEST_H_ | 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_TQM_DELEGAT
E_FOR_TEST_H_ |
6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_TQM_DELEGAT
E_FOR_TEST_H_ | 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_TQM_DELEGAT
E_FOR_TEST_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/single_thread_task_runner.h" |
12 #include "base/test/simple_test_tick_clock.h" | 13 #include "base/test/simple_test_tick_clock.h" |
13 #include "platform/scheduler/child/scheduler_tqm_delegate.h" | 14 #include "platform/scheduler/child/scheduler_tqm_delegate.h" |
14 | 15 |
15 namespace blink { | 16 namespace blink { |
16 namespace scheduler { | 17 namespace scheduler { |
17 | 18 |
18 class TaskQueueManagerDelegateForTest; | 19 class TaskQueueManagerDelegateForTest; |
19 | 20 |
20 class SchedulerTqmDelegateForTest : public SchedulerTqmDelegate { | 21 class SchedulerTqmDelegateForTest : public SchedulerTqmDelegate { |
21 public: | 22 public: |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 56 |
56 scoped_refptr<TaskQueueManagerDelegateForTest> task_runner_; | 57 scoped_refptr<TaskQueueManagerDelegateForTest> task_runner_; |
57 | 58 |
58 DISALLOW_COPY_AND_ASSIGN(SchedulerTqmDelegateForTest); | 59 DISALLOW_COPY_AND_ASSIGN(SchedulerTqmDelegateForTest); |
59 }; | 60 }; |
60 | 61 |
61 } // namespace scheduler | 62 } // namespace scheduler |
62 } // namespace blink | 63 } // namespace blink |
63 | 64 |
64 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_TQM_DELE
GATE_FOR_TEST_H_ | 65 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_TQM_DELE
GATE_FOR_TEST_H_ |
OLD | NEW |