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 CONTENT_RENDERER_SCHEDULER_TASK_QUEUE_MANAGER_H_ | 5 #ifndef CONTENT_RENDERER_SCHEDULER_BASE_TASK_QUEUE_MANAGER_H_ |
6 #define CONTENT_RENDERER_SCHEDULER_TASK_QUEUE_MANAGER_H_ | 6 #define CONTENT_RENDERER_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 "components/scheduler/child/task_queue_impl.h" | 18 #include "components/scheduler/base/task_queue_impl.h" |
19 #include "components/scheduler/child/task_queue_selector.h" | 19 #include "components/scheduler/base/task_queue_selector.h" |
20 #include "components/scheduler/scheduler_export.h" | 20 #include "components/scheduler/scheduler_export.h" |
21 | 21 |
22 namespace base { | 22 namespace base { |
23 class TickClock; | 23 class TickClock; |
24 | 24 |
25 namespace trace_event { | 25 namespace trace_event { |
26 class ConvertableToTraceFormat; | 26 class ConvertableToTraceFormat; |
27 class TracedValue; | 27 class TracedValue; |
28 } // namespace trace_event | 28 } // namespace trace_event |
29 } // namespace base | 29 } // namespace base |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 | 251 |
252 Observer* observer_; // NOT OWNED | 252 Observer* observer_; // NOT OWNED |
253 scoped_refptr<DeletionSentinel> deletion_sentinel_; | 253 scoped_refptr<DeletionSentinel> deletion_sentinel_; |
254 base::WeakPtrFactory<TaskQueueManager> weak_factory_; | 254 base::WeakPtrFactory<TaskQueueManager> weak_factory_; |
255 | 255 |
256 DISALLOW_COPY_AND_ASSIGN(TaskQueueManager); | 256 DISALLOW_COPY_AND_ASSIGN(TaskQueueManager); |
257 }; | 257 }; |
258 | 258 |
259 } // namespace scheduler | 259 } // namespace scheduler |
260 | 260 |
261 #endif // CONTENT_RENDERER_SCHEDULER_TASK_QUEUE_MANAGER_H_ | 261 #endif // CONTENT_RENDERER_SCHEDULER_BASE_TASK_QUEUE_MANAGER_H_ |
OLD | NEW |