| 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_TASK_QUEUE_SETS_H_ | 5 #ifndef COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_SETS_H_ |
| 6 #define COMPONENTS_SCHEDULER_CHILD_TASK_QUEUE_SETS_H_ | 6 #define COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_SETS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/trace_event/trace_event_argument.h" | 12 #include "base/trace_event/trace_event_argument.h" |
| 13 #include "components/scheduler/child/task_queue.h" | 13 #include "components/scheduler/base/task_queue.h" |
| 14 #include "components/scheduler/scheduler_export.h" | 14 #include "components/scheduler/scheduler_export.h" |
| 15 | 15 |
| 16 namespace scheduler { | 16 namespace scheduler { |
| 17 namespace internal { | 17 namespace internal { |
| 18 class TaskQueueImpl; | 18 class TaskQueueImpl; |
| 19 | 19 |
| 20 class SCHEDULER_EXPORT TaskQueueSets { | 20 class SCHEDULER_EXPORT TaskQueueSets { |
| 21 public: | 21 public: |
| 22 explicit TaskQueueSets(size_t num_sets); | 22 explicit TaskQueueSets(size_t num_sets); |
| 23 ~TaskQueueSets(); | 23 ~TaskQueueSets(); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 typedef std::map<int, internal::TaskQueueImpl*, EnqueueOrderComparitor> | 65 typedef std::map<int, internal::TaskQueueImpl*, EnqueueOrderComparitor> |
| 66 EnqueueOrderToQueueMap; | 66 EnqueueOrderToQueueMap; |
| 67 std::vector<EnqueueOrderToQueueMap> enqueue_order_to_queue_maps_; | 67 std::vector<EnqueueOrderToQueueMap> enqueue_order_to_queue_maps_; |
| 68 | 68 |
| 69 DISALLOW_COPY_AND_ASSIGN(TaskQueueSets); | 69 DISALLOW_COPY_AND_ASSIGN(TaskQueueSets); |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace internal | 72 } // namespace internal |
| 73 } // namespace scheduler | 73 } // namespace scheduler |
| 74 | 74 |
| 75 #endif // COMPONENTS_SCHEDULER_CHILD_TASK_QUEUE_SETS_H_ | 75 #endif // COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_SETS_H_ |
| OLD | NEW |