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

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

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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_BASE_TASK_QUEUE_SELECTOR_H_ 5 #ifndef COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_SELECTOR_H_
6 #define COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_SELECTOR_H_ 6 #define COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_SELECTOR_H_
7 7
8 #include <stddef.h>
9
8 #include <set> 10 #include <set>
9 11
10 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/macros.h"
11 #include "base/pending_task.h" 14 #include "base/pending_task.h"
12 #include "base/threading/thread_checker.h" 15 #include "base/threading/thread_checker.h"
13 #include "components/scheduler/base/work_queue_sets.h" 16 #include "components/scheduler/base/work_queue_sets.h"
14 #include "components/scheduler/scheduler_export.h" 17 #include "components/scheduler/scheduler_export.h"
15 18
16 namespace scheduler { 19 namespace scheduler {
17 namespace internal { 20 namespace internal {
18 21
19 // TaskQueueSelector is used by the SchedulerHelper to enable prioritization 22 // TaskQueueSelector is used by the SchedulerHelper to enable prioritization
20 // of particular task queues. 23 // of particular task queues.
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 size_t immediate_starvation_count_; 127 size_t immediate_starvation_count_;
125 size_t high_priority_starvation_count_; 128 size_t high_priority_starvation_count_;
126 Observer* task_queue_selector_observer_; // NOT OWNED 129 Observer* task_queue_selector_observer_; // NOT OWNED
127 DISALLOW_COPY_AND_ASSIGN(TaskQueueSelector); 130 DISALLOW_COPY_AND_ASSIGN(TaskQueueSelector);
128 }; 131 };
129 132
130 } // namespace internal 133 } // namespace internal
131 } // namespace scheduler 134 } // namespace scheduler
132 135
133 #endif // COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_SELECTOR_H 136 #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_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698