Rename GetIconID to GetIconId
[chromium-blink-merge.git] / components / scheduler / child / worker_scheduler.cc
blob55db90dcdd8a5298a39700cab884e6c9211736eb
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
3 // found in the LICENSE file.
5 #include "components/scheduler/child/worker_scheduler.h"
7 #include "base/message_loop/message_loop.h"
8 #include "components/scheduler/child/scheduler_task_runner_delegate.h"
9 #include "components/scheduler/child/worker_scheduler_impl.h"
11 namespace scheduler {
13 WorkerScheduler::WorkerScheduler() {
16 WorkerScheduler::~WorkerScheduler() {
19 // static
20 scoped_ptr<WorkerScheduler> WorkerScheduler::Create(
21 scoped_refptr<SchedulerTaskRunnerDelegate> main_task_runner) {
22 return make_scoped_ptr(new WorkerSchedulerImpl(main_task_runner.Pass()));
25 } // namespace scheduler