| 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 COMPONENTS_SCHEDULER_CHILD_WORKER_SCHEDULER_H_ | 5 #ifndef COMPONENTS_SCHEDULER_CHILD_WORKER_SCHEDULER_H_ |
| 6 #define COMPONENTS_SCHEDULER_CHILD_WORKER_SCHEDULER_H_ | 6 #define COMPONENTS_SCHEDULER_CHILD_WORKER_SCHEDULER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| 10 #include "components/scheduler/child/child_scheduler.h" | 11 #include "components/scheduler/child/child_scheduler.h" |
| 11 #include "components/scheduler/child/single_thread_idle_task_runner.h" | 12 #include "components/scheduler/child/single_thread_idle_task_runner.h" |
| 12 #include "components/scheduler/scheduler_export.h" | 13 #include "components/scheduler/scheduler_export.h" |
| 13 | 14 |
| 14 namespace base { | 15 namespace base { |
| 15 class MessageLoop; | 16 class MessageLoop; |
| 16 } | 17 } |
| 17 | 18 |
| 18 namespace scheduler { | 19 namespace scheduler { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 29 virtual void Init() = 0; | 30 virtual void Init() = 0; |
| 30 | 31 |
| 31 protected: | 32 protected: |
| 32 WorkerScheduler(); | 33 WorkerScheduler(); |
| 33 DISALLOW_COPY_AND_ASSIGN(WorkerScheduler); | 34 DISALLOW_COPY_AND_ASSIGN(WorkerScheduler); |
| 34 }; | 35 }; |
| 35 | 36 |
| 36 } // namespace scheduler | 37 } // namespace scheduler |
| 37 | 38 |
| 38 #endif // COMPONENTS_SCHEDULER_CHILD_WORKER_SCHEDULER_H_ | 39 #endif // COMPONENTS_SCHEDULER_CHILD_WORKER_SCHEDULER_H_ |
| OLD | NEW |