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_WORKER_SCHEDULER_IMPL
_H_ | 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_WORKER_SCHEDULER_IMPL
_H_ |
6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_WORKER_SCHEDULER_IMPL
_H_ | 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_WORKER_SCHEDULER_IMPL
_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/single_thread_task_runner.h" |
10 #include "platform/scheduler/base/task_time_observer.h" | 11 #include "platform/scheduler/base/task_time_observer.h" |
11 #include "platform/scheduler/base/thread_load_tracker.h" | 12 #include "platform/scheduler/base/thread_load_tracker.h" |
12 #include "platform/scheduler/child/idle_canceled_delayed_task_sweeper.h" | 13 #include "platform/scheduler/child/idle_canceled_delayed_task_sweeper.h" |
13 #include "platform/scheduler/child/idle_helper.h" | 14 #include "platform/scheduler/child/idle_helper.h" |
14 #include "platform/scheduler/child/worker_scheduler.h" | 15 #include "platform/scheduler/child/worker_scheduler.h" |
15 | 16 |
16 namespace blink { | 17 namespace blink { |
17 namespace scheduler { | 18 namespace scheduler { |
18 | 19 |
19 class SchedulerTqmDelegate; | 20 class SchedulerTqmDelegate; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 bool initialized_; | 67 bool initialized_; |
67 base::TimeTicks thread_start_time_; | 68 base::TimeTicks thread_start_time_; |
68 | 69 |
69 DISALLOW_COPY_AND_ASSIGN(WorkerSchedulerImpl); | 70 DISALLOW_COPY_AND_ASSIGN(WorkerSchedulerImpl); |
70 }; | 71 }; |
71 | 72 |
72 } // namespace scheduler | 73 } // namespace scheduler |
73 } // namespace blink | 74 } // namespace blink |
74 | 75 |
75 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_WORKER_SCHEDULER_I
MPL_H_ | 76 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_WORKER_SCHEDULER_I
MPL_H_ |
OLD | NEW |