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 "platform/scheduler/child/idle_helper.h" | 9 #include "platform/scheduler/child/idle_helper.h" |
10 #include "platform/scheduler/child/scheduler_helper.h" | 10 #include "platform/scheduler/child/scheduler_helper.h" |
11 #include "public/platform/scheduler/child/worker_scheduler.h" | 11 #include "public/platform/scheduler/child/worker_scheduler.h" |
12 | 12 |
13 namespace base { | |
14 namespace trace_event { | |
15 class ConvertableToTraceFormat; | |
16 } | |
17 } | |
18 | |
19 namespace blink { | 13 namespace blink { |
20 namespace scheduler { | 14 namespace scheduler { |
21 | 15 |
22 class SchedulerTqmDelegate; | 16 class SchedulerTqmDelegate; |
23 | 17 |
24 class BLINK_PLATFORM_EXPORT WorkerSchedulerImpl : public WorkerScheduler, | 18 class BLINK_PLATFORM_EXPORT WorkerSchedulerImpl : public WorkerScheduler, |
25 public IdleHelper::Delegate { | 19 public IdleHelper::Delegate { |
26 public: | 20 public: |
27 explicit WorkerSchedulerImpl( | 21 explicit WorkerSchedulerImpl( |
28 scoped_refptr<SchedulerTqmDelegate> main_task_runner); | 22 scoped_refptr<SchedulerTqmDelegate> main_task_runner); |
(...skipping 29 matching lines...) Expand all Loading... |
58 IdleHelper idle_helper_; | 52 IdleHelper idle_helper_; |
59 bool initialized_; | 53 bool initialized_; |
60 | 54 |
61 DISALLOW_COPY_AND_ASSIGN(WorkerSchedulerImpl); | 55 DISALLOW_COPY_AND_ASSIGN(WorkerSchedulerImpl); |
62 }; | 56 }; |
63 | 57 |
64 } // namespace scheduler | 58 } // namespace scheduler |
65 } // namespace blink | 59 } // namespace blink |
66 | 60 |
67 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_WORKER_SCHEDULER_I
MPL_H_ | 61 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_WORKER_SCHEDULER_I
MPL_H_ |
OLD | NEW |