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

Issue 2427963002: Support FileDescriptorWatcher in TaskScheduler. (Closed)

Created:
4 years, 2 months ago by fdoray
Modified:
4 years, 1 month ago
Reviewers:
robliao, danakj, gab
CC:
chromium-reviews, gab+watch_chromium.org, robliao+watch_chromium.org, fdoray+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support FileDescriptorWatcher in TaskScheduler. TBR=danakj@chromium.org BUG=645114 Committed: https://crrev.com/9c72b0388e0c92e1d7b20dc17aa003f98b560742 Cr-Commit-Position: refs/heads/master@{#428043}

Patch Set 1 #

Patch Set 2 : build on posix #

Patch Set 3 : self-review #

Patch Set 4 : nacl #

Total comments: 2

Patch Set 5 : refactor #

Patch Set 6 : self-review #

Patch Set 7 : fix build error #

Total comments: 6

Patch Set 8 : CR robliao #23 #

Total comments: 10

Patch Set 9 : CR gab #29 #

Patch Set 10 : fix build error #

Patch Set 11 : fix build error #

Patch Set 12 : fix build error (add BASE_EXPORT) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -15 lines) Patch
M base/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -0 lines 0 comments Download
M base/task_scheduler/task_scheduler_impl.h View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M base/task_scheduler/task_scheduler_impl.cc View 1 2 3 4 5 6 7 8 5 chunks +30 lines, -9 lines 0 comments Download
M base/task_scheduler/task_tracker.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M base/task_scheduler/task_tracker.cc View 1 2 3 4 5 6 3 chunks +7 lines, -3 lines 0 comments Download
A base/task_scheduler/task_tracker_posix.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +43 lines, -0 lines 0 comments Download
A base/task_scheduler/task_tracker_posix.cc View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download
A base/task_scheduler/task_tracker_posix_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 57 (44 generated)
fdoray
PTAL
4 years, 2 months ago (2016-10-18 13:56:54 UTC) #9
gab
https://codereview.chromium.org/2427963002/diff/60001/base/task_scheduler/task_tracker.h File base/task_scheduler/task_tracker.h (right): https://codereview.chromium.org/2427963002/diff/60001/base/task_scheduler/task_tracker.h#newcode40 base/task_scheduler/task_tracker.h:40: MessageLoopForIO* watch_file_descriptor_message_loop It feels a bit intrusive to add ...
4 years, 2 months ago (2016-10-18 14:40:43 UTC) #10
fdoray
PTAnL https://codereview.chromium.org/2427963002/diff/60001/base/task_scheduler/task_tracker.h File base/task_scheduler/task_tracker.h (right): https://codereview.chromium.org/2427963002/diff/60001/base/task_scheduler/task_tracker.h#newcode40 base/task_scheduler/task_tracker.h:40: MessageLoopForIO* watch_file_descriptor_message_loop On 2016/10/18 14:40:43, gab wrote: > ...
4 years, 2 months ago (2016-10-18 15:30:43 UTC) #13
fdoray
PTAnL
4 years, 2 months ago (2016-10-19 14:28:36 UTC) #15
robliao
Looks reasonable to me. Some questions and comments. https://codereview.chromium.org/2427963002/diff/120001/base/task_scheduler/task_scheduler_impl.cc File base/task_scheduler/task_scheduler_impl.cc (right): https://codereview.chromium.org/2427963002/diff/120001/base/task_scheduler/task_scheduler_impl.cc#newcode20 base/task_scheduler/task_scheduler_impl.cc:20: #if ...
4 years, 2 months ago (2016-10-20 00:59:40 UTC) #23
fdoray
PTAnL https://codereview.chromium.org/2427963002/diff/120001/base/task_scheduler/task_scheduler_impl.cc File base/task_scheduler/task_scheduler_impl.cc (right): https://codereview.chromium.org/2427963002/diff/120001/base/task_scheduler/task_scheduler_impl.cc#newcode20 base/task_scheduler/task_scheduler_impl.cc:20: #if defined(OS_POSIX) && !defined(OS_NACL_SFI) On 2016/10/20 00:59:40, robliao ...
4 years, 2 months ago (2016-10-21 12:29:44 UTC) #28
gab
lvg https://codereview.chromium.org/2427963002/diff/140001/base/task_scheduler/task_scheduler_impl.cc File base/task_scheduler/task_scheduler_impl.cc (right): https://codereview.chromium.org/2427963002/diff/140001/base/task_scheduler/task_scheduler_impl.cc#newcode96 base/task_scheduler/task_scheduler_impl.cc:96: // Start the service thread. On POSIX (except ...
4 years, 2 months ago (2016-10-21 16:10:49 UTC) #29
fdoray
PTAnL https://codereview.chromium.org/2427963002/diff/140001/base/task_scheduler/task_scheduler_impl.cc File base/task_scheduler/task_scheduler_impl.cc (right): https://codereview.chromium.org/2427963002/diff/140001/base/task_scheduler/task_scheduler_impl.cc#newcode96 base/task_scheduler/task_scheduler_impl.cc:96: // Start the service thread. On POSIX (except ...
4 years, 1 month ago (2016-10-27 13:06:51 UTC) #45
gab
lgtm
4 years, 1 month ago (2016-10-27 15:51:17 UTC) #48
fdoray
TBR danakj for changes in base/BUILD.gn
4 years, 1 month ago (2016-10-27 16:12:58 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2427963002/220001
4 years, 1 month ago (2016-10-27 16:13:23 UTC) #53
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 1 month ago (2016-10-27 16:19:35 UTC) #55
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 16:29:48 UTC) #57
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/9c72b0388e0c92e1d7b20dc17aa003f98b560742
Cr-Commit-Position: refs/heads/master@{#428043}

Powered by Google App Engine
This is Rietveld 408576698