|
TaskScheduler: Remove base/task_scheduler/utils.h/.cc
- Rename SchedulerThreadPool -> SchedulerThreadPoolImpl.
- Rename SchedulerTaskExecutor -> SchedulerThreadPool.
* For now, this interface is implemented by SchedulerThreadPoolImpl.
In the future, it could be implemented by a thread pool backed
by the Windows thread pool.
- Move the declaration of methods that would make sense for any
thread pool implementation to SchedulerThreadPool.
- Remove utils.h/.cc. Move the code of helper functions defined in
these files directly in scheduler_thread_pool_impl.cc.
* scheduler_worker_thread.cc won't use these functions as
initially planned, which means that there is no need to
make them accessible outside of scheduler_thread_pool_impl.cc
BUG= 553459
Committed: https://crrev.com/583b226e92c4d416c149628baa7b8ea76e7aed48
Cr-Commit-Position: refs/heads/master@{#389567}
Total comments: 6
Total comments: 10
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+317 lines, -1192 lines) |
Patch |
 |
M |
base/BUILD.gn
|
View
|
1
2
3
4
5
6
|
4 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
base/base.gyp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
base/base.gypi
|
View
|
1
2
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
base/task_scheduler/delayed_task_manager.h
|
View
|
1
2
3
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
base/task_scheduler/delayed_task_manager.cc
|
View
|
1
2
|
6 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
base/task_scheduler/delayed_task_manager_unittest.cc
|
View
|
1
2
3
4
5
|
11 chunks |
+50 lines, -24 lines |
0 comments
|
Download
|
 |
D |
base/task_scheduler/scheduler_task_executor.h
|
View
|
|
1 chunk |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
M |
base/task_scheduler/scheduler_thread_pool.h
|
View
|
1
2
3
4
5
|
1 chunk |
+18 lines, -98 lines |
2 comments
|
Download
|
 |
M |
base/task_scheduler/scheduler_thread_pool.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -339 lines |
0 comments
|
Download
|
 |
A + |
base/task_scheduler/scheduler_thread_pool_impl.h
|
View
|
1
2
3
4
5
|
5 chunks |
+24 lines, -29 lines |
0 comments
|
Download
|
 |
A + |
base/task_scheduler/scheduler_thread_pool_impl.cc
|
View
|
1
2
3
4
5
|
12 chunks |
+105 lines, -86 lines |
0 comments
|
Download
|
 |
A + |
base/task_scheduler/scheduler_thread_pool_impl_unittest.cc
|
View
|
1
2
3
4
5
6
|
11 chunks |
+83 lines, -23 lines |
0 comments
|
Download
|
 |
D |
base/task_scheduler/scheduler_thread_pool_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -259 lines |
0 comments
|
Download
|
 |
M |
base/task_scheduler/scheduler_worker_thread.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
base/task_scheduler/scheduler_worker_thread.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
base/task_scheduler/scheduler_worker_thread_stack_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
base/task_scheduler/scheduler_worker_thread_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
D |
base/task_scheduler/utils.h
|
View
|
|
1 chunk |
+0 lines, -43 lines |
0 comments
|
Download
|
 |
D |
base/task_scheduler/utils.cc
|
View
|
|
1 chunk |
+0 lines, -74 lines |
0 comments
|
Download
|
 |
D |
base/task_scheduler/utils_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -141 lines |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 29 (7 generated)
|