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

Issue 2598193002: Allow FilePathWatcher to be used from sequenced tasks. (Closed)

Created:
3 years, 12 months ago by fdoray
Modified:
3 years, 12 months ago
Reviewers:
gab
CC:
chromium-reviews, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow FilePathWatcher to be used from sequenced tasks. This CL allows FilePathWatcher to be used from sequenced tasks. Notifications are dispatched on the sequence from which Watch() is called. Previously, it had to be used from single-threaded tasks. BUG=675631 Committed: https://crrev.com/caa1245b3c7c6e75f3e79139bf6d90eb2227d953 Cr-Commit-Position: refs/heads/master@{#440649}

Patch Set 1 #

Total comments: 2

Patch Set 2 : thread -> sequence in comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -25 lines) Patch
M base/files/file_path_watcher.h View 1 5 chunks +7 lines, -8 lines 0 comments Download
M base/files/file_path_watcher_fsevents.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/files/file_path_watcher_kqueue.h View 1 chunk +0 lines, -1 line 0 comments Download
M base/files/file_path_watcher_kqueue.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M base/files/file_path_watcher_linux.cc View 7 chunks +7 lines, -7 lines 0 comments Download
M base/files/file_path_watcher_win.cc View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
fdoray
PTAL
3 years, 12 months ago (2016-12-23 14:09:21 UTC) #4
gab
LGTM w/ comment https://codereview.chromium.org/2598193002/diff/1/base/files/file_path_watcher.h File base/files/file_path_watcher.h (right): https://codereview.chromium.org/2598193002/diff/1/base/files/file_path_watcher.h#newcode94 base/files/file_path_watcher.h:94: // children. The callback will be ...
3 years, 12 months ago (2016-12-23 15:35:14 UTC) #7
fdoray
https://codereview.chromium.org/2598193002/diff/1/base/files/file_path_watcher.h File base/files/file_path_watcher.h (right): https://codereview.chromium.org/2598193002/diff/1/base/files/file_path_watcher.h#newcode94 base/files/file_path_watcher.h:94: // children. The callback will be invoked on the ...
3 years, 12 months ago (2016-12-23 17:37:42 UTC) #8
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/2598193002/20001
3 years, 12 months ago (2016-12-23 17:37:58 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 12 months ago (2016-12-23 18:57:22 UTC) #14
commit-bot: I haz the power
3 years, 12 months ago (2016-12-23 19:00:59 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/caa1245b3c7c6e75f3e79139bf6d90eb2227d953
Cr-Commit-Position: refs/heads/master@{#440649}

Powered by Google App Engine
This is Rietveld 408576698