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_BASE_TASK_QUEUE_IMPL_H_ | 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_IMPL_H_ |
6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_IMPL_H_ | 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <set> | 11 #include <set> |
12 | 12 |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/message_loop/message_loop.h" |
15 #include "base/pending_task.h" | 16 #include "base/pending_task.h" |
16 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
17 #include "base/trace_event/trace_event.h" | 18 #include "base/trace_event/trace_event.h" |
18 #include "base/trace_event/trace_event_argument.h" | 19 #include "base/trace_event/trace_event_argument.h" |
19 #include "platform/scheduler/base/enqueue_order.h" | 20 #include "platform/scheduler/base/enqueue_order.h" |
20 #include "platform/scheduler/base/intrusive_heap.h" | 21 #include "platform/scheduler/base/intrusive_heap.h" |
21 #include "platform/scheduler/base/task_queue.h" | 22 #include "platform/scheduler/base/task_queue.h" |
22 #include "platform/wtf/Deque.h" | 23 #include "platform/wtf/Deque.h" |
23 | 24 |
24 namespace blink { | 25 namespace blink { |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 const bool should_report_when_execution_blocked_; | 397 const bool should_report_when_execution_blocked_; |
397 | 398 |
398 DISALLOW_COPY_AND_ASSIGN(TaskQueueImpl); | 399 DISALLOW_COPY_AND_ASSIGN(TaskQueueImpl); |
399 }; | 400 }; |
400 | 401 |
401 } // namespace internal | 402 } // namespace internal |
402 } // namespace scheduler | 403 } // namespace scheduler |
403 } // namespace blink | 404 } // namespace blink |
404 | 405 |
405 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_IMPL_H_ | 406 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_IMPL_H_ |
OLD | NEW |