| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BASE_TASK_QUEUE_MANAGER_H_ | 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_MANAGER_H_ |
| 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_MANAGER_H_ | 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/atomic_sequence_num.h" | 10 #include "base/atomic_sequence_num.h" |
| 11 #include "base/debug/task_annotator.h" | 11 #include "base/debug/task_annotator.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
| 15 #include "base/pending_task.h" | 15 #include "base/pending_task.h" |
| 16 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
| 17 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
| 18 #include "platform/scheduler/base/enqueue_order.h" | 18 #include "platform/scheduler/base/enqueue_order.h" |
| 19 #include "platform/scheduler/base/task_queue_impl.h" | 19 #include "platform/scheduler/base/task_queue_impl.h" |
| 20 #include "platform/scheduler/base/task_queue_selector.h" | 20 #include "platform/scheduler/base/task_queue_selector.h" |
| 21 | 21 |
| 22 namespace base { | 22 namespace base { |
| 23 class TickClock; | |
| 24 | |
| 25 namespace trace_event { | 23 namespace trace_event { |
| 26 class ConvertableToTraceFormat; | 24 class ConvertableToTraceFormat; |
| 27 class TracedValue; | |
| 28 } // namespace trace_event | 25 } // namespace trace_event |
| 29 } // namespace base | 26 } // namespace base |
| 30 | 27 |
| 31 namespace blink { | 28 namespace blink { |
| 32 namespace scheduler { | 29 namespace scheduler { |
| 33 namespace internal { | 30 namespace internal { |
| 34 class TaskQueueImpl; | 31 class TaskQueueImpl; |
| 35 } // namespace internal | 32 } // namespace internal |
| 36 | 33 |
| 37 class LazyNow; | 34 class LazyNow; |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 scoped_refptr<DeletionSentinel> deletion_sentinel_; | 255 scoped_refptr<DeletionSentinel> deletion_sentinel_; |
| 259 base::WeakPtrFactory<TaskQueueManager> weak_factory_; | 256 base::WeakPtrFactory<TaskQueueManager> weak_factory_; |
| 260 | 257 |
| 261 DISALLOW_COPY_AND_ASSIGN(TaskQueueManager); | 258 DISALLOW_COPY_AND_ASSIGN(TaskQueueManager); |
| 262 }; | 259 }; |
| 263 | 260 |
| 264 } // namespace scheduler | 261 } // namespace scheduler |
| 265 } // namespace blink | 262 } // namespace blink |
| 266 | 263 |
| 267 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_MANAGER_
H_ | 264 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_MANAGER_
H_ |
| OLD | NEW |