| 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_RENDERER_WEBTHREAD_IMPL_FOR
_RENDERER_SCHEDULER_H_ | 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEBTHREAD_IMPL_FOR
_RENDERER_SCHEDULER_H_ |
| 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEBTHREAD_IMPL_FOR
_RENDERER_SCHEDULER_H_ | 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEBTHREAD_IMPL_FOR
_RENDERER_SCHEDULER_H_ |
| 7 | 7 |
| 8 #include "base/message_loop/message_loop.h" |
| 8 #include "platform/PlatformExport.h" | 9 #include "platform/PlatformExport.h" |
| 9 #include "platform/wtf/RefPtr.h" | 10 #include "platform/wtf/RefPtr.h" |
| 10 #include "public/platform/scheduler/child/webthread_base.h" | 11 #include "public/platform/scheduler/child/webthread_base.h" |
| 11 | 12 |
| 12 namespace blink { | 13 namespace blink { |
| 13 class WebScheduler; | 14 class WebScheduler; |
| 14 }; | 15 }; |
| 15 | 16 |
| 16 namespace blink { | 17 namespace blink { |
| 17 namespace scheduler { | 18 namespace scheduler { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 48 scoped_refptr<SingleThreadIdleTaskRunner> idle_task_runner_; | 49 scoped_refptr<SingleThreadIdleTaskRunner> idle_task_runner_; |
| 49 RendererSchedulerImpl* scheduler_; // Not owned. | 50 RendererSchedulerImpl* scheduler_; // Not owned. |
| 50 PlatformThreadId thread_id_; | 51 PlatformThreadId thread_id_; |
| 51 RefPtr<WebTaskRunnerImpl> web_task_runner_; | 52 RefPtr<WebTaskRunnerImpl> web_task_runner_; |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 } // namespace scheduler | 55 } // namespace scheduler |
| 55 } // namespace blink | 56 } // namespace blink |
| 56 | 57 |
| 57 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEBTHREAD_IMPL_
FOR_RENDERER_SCHEDULER_H_ | 58 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEBTHREAD_IMPL_
FOR_RENDERER_SCHEDULER_H_ |
| OLD | NEW |