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

Issue 2391673002: Use FileDescriptorWatcher in UserInputMonitorLinuxCore. (Closed)

Created:
4 years, 2 months ago by fdoray
Modified:
4 years, 2 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use FileDescriptorWatcher in UserInputMonitorLinuxCore. This allows UserInputMonitorLinuxCore to be used from any thread that instantiates a FileDescriptorWatcher (not just threads that run a MessageLoopForIO). This will facilitate the migration of BrowserThreads to base/task_scheduler. BUG=645114 Committed: https://crrev.com/38bc36cf16d7a663619670854d0c3123a4302102 Cr-Commit-Position: refs/heads/master@{#423159}

Patch Set 1 #

Patch Set 2 : fix build error #

Patch Set 3 : fix test error #

Total comments: 4

Patch Set 4 : CR liberato #15 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -28 lines) Patch
M media/base/user_input_monitor_linux.cc View 1 9 chunks +13 lines, -28 lines 0 comments Download
M media/base/user_input_monitor_unittest.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (19 generated)
fdoray
PTAL
4 years, 2 months ago (2016-10-03 21:28:57 UTC) #12
liberato (no reviews please)
https://codereview.chromium.org/2391673002/diff/40001/media/base/user_input_monitor_linux.cc File media/base/user_input_monitor_linux.cc (right): https://codereview.chromium.org/2391673002/diff/40001/media/base/user_input_monitor_linux.cc#newcode223 media/base/user_input_monitor_linux.cc:223: watch_controller_ = base::FileDescriptorWatcher::WatchReadable( file_descriptor_watcher_posix mentions that one must have ...
4 years, 2 months ago (2016-10-04 17:29:20 UTC) #15
fdoray
PTAnL https://codereview.chromium.org/2391673002/diff/40001/media/base/user_input_monitor_linux.cc File media/base/user_input_monitor_linux.cc (right): https://codereview.chromium.org/2391673002/diff/40001/media/base/user_input_monitor_linux.cc#newcode223 media/base/user_input_monitor_linux.cc:223: watch_controller_ = base::FileDescriptorWatcher::WatchReadable( On 2016/10/04 17:29:20, liberato wrote: ...
4 years, 2 months ago (2016-10-05 13:40:15 UTC) #18
liberato (no reviews please)
lgtm
4 years, 2 months ago (2016-10-05 14:38:46 UTC) #19
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/2391673002/60001
4 years, 2 months ago (2016-10-05 14:51:03 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-05 14:56:50 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 14:59:38 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/38bc36cf16d7a663619670854d0c3123a4302102
Cr-Commit-Position: refs/heads/master@{#423159}

Powered by Google App Engine
This is Rietveld 408576698