| 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_BASE_TASK_QUEUE_H_ | 5 #ifndef COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_H_ |
| 6 #define COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_H_ | 6 #define COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 9 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
| 10 #include "components/scheduler/scheduler_export.h" | 11 #include "components/scheduler/scheduler_export.h" |
| 11 | 12 |
| 12 namespace scheduler { | 13 namespace scheduler { |
| 13 class TimeDomain; | 14 class TimeDomain; |
| 14 | 15 |
| 15 class SCHEDULER_EXPORT TaskQueue : public base::SingleThreadTaskRunner { | 16 class SCHEDULER_EXPORT TaskQueue : public base::SingleThreadTaskRunner { |
| 16 public: | 17 public: |
| 17 TaskQueue() {} | 18 TaskQueue() {} |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 175 |
| 175 protected: | 176 protected: |
| 176 ~TaskQueue() override {} | 177 ~TaskQueue() override {} |
| 177 | 178 |
| 178 DISALLOW_COPY_AND_ASSIGN(TaskQueue); | 179 DISALLOW_COPY_AND_ASSIGN(TaskQueue); |
| 179 }; | 180 }; |
| 180 | 181 |
| 181 } // namespace scheduler | 182 } // namespace scheduler |
| 182 | 183 |
| 183 #endif // COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_H_ | 184 #endif // COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_H_ |
| OLD | NEW |