Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: components/scheduler/base/task_queue_selector.h

Issue 1374653003: scheduler: Add a base directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed gn clobber build. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_SELECTOR_H_ 5 #ifndef COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_SELECTOR_H_
6 #define COMPONENTS_SCHEDULER_CHILD_TASK_QUEUE_SELECTOR_H_ 6 #define COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_SELECTOR_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/pending_task.h" 11 #include "base/pending_task.h"
12 #include "base/threading/thread_checker.h" 12 #include "base/threading/thread_checker.h"
13 #include "components/scheduler/child/task_queue_sets.h" 13 #include "components/scheduler/base/task_queue_sets.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 18
19 // TaskQueueSelector is used by the SchedulerHelper to enable prioritization 19 // TaskQueueSelector is used by the SchedulerHelper to enable prioritization
20 // of particular task queues. 20 // of particular task queues.
21 class SCHEDULER_EXPORT TaskQueueSelector { 21 class SCHEDULER_EXPORT TaskQueueSelector {
22 public: 22 public:
23 TaskQueueSelector(); 23 TaskQueueSelector();
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 TaskQueueSets task_queue_sets_; 90 TaskQueueSets task_queue_sets_;
91 91
92 size_t starvation_count_; 92 size_t starvation_count_;
93 Observer* task_queue_selector_observer_; // NOT OWNED 93 Observer* task_queue_selector_observer_; // NOT OWNED
94 DISALLOW_COPY_AND_ASSIGN(TaskQueueSelector); 94 DISALLOW_COPY_AND_ASSIGN(TaskQueueSelector);
95 }; 95 };
96 96
97 } // namespace internal 97 } // namespace internal
98 } // namespace scheduler 98 } // namespace scheduler
99 99
100 #endif // COMPONENTS_SCHEDULER_CHILD_TASK_QUEUE_SELECTOR_H 100 #endif // COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_SELECTOR_H
OLDNEW
« no previous file with comments | « components/scheduler/base/task_queue_manager_unittest.cc ('k') | components/scheduler/base/task_queue_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698