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_HELPER_H_ | 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_HELPER_H_ |
6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_HELPER_H_ | 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_HELPER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/time/tick_clock.h" | 11 #include "base/time/tick_clock.h" |
12 #include "platform/scheduler/base/task_queue_manager.h" | 12 #include "platform/scheduler/base/task_queue_manager.h" |
13 #include "platform/scheduler/base/task_queue_selector.h" | 13 #include "platform/scheduler/base/task_queue_selector.h" |
14 | 14 |
15 namespace base { | |
16 class TickClock; | |
17 } | |
18 | |
19 namespace blink { | 15 namespace blink { |
20 namespace scheduler { | 16 namespace scheduler { |
21 | 17 |
22 class SchedulerTqmDelegate; | 18 class SchedulerTqmDelegate; |
23 | 19 |
24 // Common scheduler functionality for default tasks. | 20 // Common scheduler functionality for default tasks. |
25 class BLINK_PLATFORM_EXPORT SchedulerHelper | 21 class BLINK_PLATFORM_EXPORT SchedulerHelper |
26 : public TaskQueueManager::Observer { | 22 : public TaskQueueManager::Observer { |
27 public: | 23 public: |
28 // Category strings must have application lifetime (statics or | 24 // Category strings must have application lifetime (statics or |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 const char* tracing_category_; | 113 const char* tracing_category_; |
118 const char* disabled_by_default_tracing_category_; | 114 const char* disabled_by_default_tracing_category_; |
119 | 115 |
120 DISALLOW_COPY_AND_ASSIGN(SchedulerHelper); | 116 DISALLOW_COPY_AND_ASSIGN(SchedulerHelper); |
121 }; | 117 }; |
122 | 118 |
123 } // namespace scheduler | 119 } // namespace scheduler |
124 } // namespace blink | 120 } // namespace blink |
125 | 121 |
126 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_HELPER_H
_ | 122 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_HELPER_H
_ |
OLD | NEW |