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_WEBTHREAD_IMPL_FOR_WO
RKER_SCHEDULER_H_ | 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_WEBTHREAD_IMPL_FOR_WO
RKER_SCHEDULER_H_ |
6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_WEBTHREAD_IMPL_FOR_WO
RKER_SCHEDULER_H_ | 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_WEBTHREAD_IMPL_FOR_WO
RKER_SCHEDULER_H_ |
7 | 7 |
| 8 #include "base/message_loop/message_loop.h" |
8 #include "base/threading/thread.h" | 9 #include "base/threading/thread.h" |
9 #include "public/platform/WebPrivatePtr.h" | 10 #include "public/platform/WebPrivatePtr.h" |
10 #include "public/platform/scheduler/child/webthread_base.h" | 11 #include "public/platform/scheduler/child/webthread_base.h" |
11 | 12 |
12 namespace base { | 13 namespace base { |
13 class WaitableEvent; | 14 class WaitableEvent; |
14 } | 15 } |
15 | 16 |
16 namespace blink { | 17 namespace blink { |
17 class WebScheduler; | 18 class WebScheduler; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 scoped_refptr<TaskQueue> task_queue_; | 77 scoped_refptr<TaskQueue> task_queue_; |
77 scoped_refptr<scheduler::SingleThreadIdleTaskRunner> idle_task_runner_; | 78 scoped_refptr<scheduler::SingleThreadIdleTaskRunner> idle_task_runner_; |
78 scoped_refptr<SchedulerTqmDelegate> task_runner_delegate_; | 79 scoped_refptr<SchedulerTqmDelegate> task_runner_delegate_; |
79 WebPrivatePtr<WebTaskRunnerImpl> web_task_runner_; | 80 WebPrivatePtr<WebTaskRunnerImpl> web_task_runner_; |
80 }; | 81 }; |
81 | 82 |
82 } // namespace scheduler | 83 } // namespace scheduler |
83 } // namespace blink | 84 } // namespace blink |
84 | 85 |
85 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_WEBTHREAD_IMPL_FOR
_WORKER_SCHEDULER_H_ | 86 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_WEBTHREAD_IMPL_FOR
_WORKER_SCHEDULER_H_ |
OLD | NEW |