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 #include "platform/scheduler/child/web_scheduler_impl.h" | 5 #include "platform/scheduler/child/web_scheduler_impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
9 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
10 #include "platform/scheduler/child/web_task_runner_impl.h" | 10 #include "platform/scheduler/child/web_task_runner_impl.h" |
11 #include "platform/scheduler/child/worker_scheduler.h" | 11 #include "platform/scheduler/child/worker_scheduler.h" |
| 12 #include "platform/scheduler/renderer/web_view_scheduler.h" |
12 #include "public/platform/WebTraceLocation.h" | 13 #include "public/platform/WebTraceLocation.h" |
13 #include "public/platform/WebViewScheduler.h" | |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 namespace scheduler { | 16 namespace scheduler { |
17 | 17 |
18 WebSchedulerImpl::WebSchedulerImpl( | 18 WebSchedulerImpl::WebSchedulerImpl( |
19 ChildScheduler* child_scheduler, | 19 ChildScheduler* child_scheduler, |
20 scoped_refptr<SingleThreadIdleTaskRunner> idle_task_runner, | 20 scoped_refptr<SingleThreadIdleTaskRunner> idle_task_runner, |
21 scoped_refptr<TaskQueue> loading_task_runner, | 21 scoped_refptr<TaskQueue> loading_task_runner, |
22 scoped_refptr<TaskQueue> timer_task_runner) | 22 scoped_refptr<TaskQueue> timer_task_runner) |
23 : child_scheduler_(child_scheduler), | 23 : child_scheduler_(child_scheduler), |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 std::unique_ptr<blink::WebViewScheduler> | 74 std::unique_ptr<blink::WebViewScheduler> |
75 WebSchedulerImpl::CreateWebViewScheduler( | 75 WebSchedulerImpl::CreateWebViewScheduler( |
76 InterventionReporter*, | 76 InterventionReporter*, |
77 WebViewScheduler::WebViewSchedulerSettings*) { | 77 WebViewScheduler::WebViewSchedulerSettings*) { |
78 NOTREACHED(); | 78 NOTREACHED(); |
79 return nullptr; | 79 return nullptr; |
80 } | 80 } |
81 | 81 |
82 } // namespace scheduler | 82 } // namespace scheduler |
83 } // namespace blink | 83 } // namespace blink |
OLD | NEW |