| 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" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 blink::WebTaskRunner* WebSchedulerImpl::loadingTaskRunner() { | 66 blink::WebTaskRunner* WebSchedulerImpl::loadingTaskRunner() { |
| 67 return loading_web_task_runner_.get(); | 67 return loading_web_task_runner_.get(); |
| 68 } | 68 } |
| 69 | 69 |
| 70 blink::WebTaskRunner* WebSchedulerImpl::timerTaskRunner() { | 70 blink::WebTaskRunner* WebSchedulerImpl::timerTaskRunner() { |
| 71 return timer_web_task_runner_.get(); | 71 return timer_web_task_runner_.get(); |
| 72 } | 72 } |
| 73 | 73 |
| 74 std::unique_ptr<blink::WebViewScheduler> | 74 std::unique_ptr<blink::WebViewScheduler> |
| 75 WebSchedulerImpl::createWebViewScheduler(InterventionReporter*) { | 75 WebSchedulerImpl::createWebViewScheduler( |
| 76 InterventionReporter*, |
| 77 WebViewScheduler::WebViewSchedulerSettings*) { |
| 76 NOTREACHED(); | 78 NOTREACHED(); |
| 77 return nullptr; | 79 return nullptr; |
| 78 } | 80 } |
| 79 | 81 |
| 80 } // namespace scheduler | 82 } // namespace scheduler |
| 81 } // namespace blink | 83 } // namespace blink |
| OLD | NEW |