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

Issue 92032: Add support for almost-recursive watches in Linux DirectoryWatcher (Closed)

Created:
11 years, 8 months ago by j.dinata
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add support for almost-recursive watches in Linux DirectoryWatcher After this patch DirectoryWatcher when asked for recursive watch will scan the subtree and add inotify watches for each subfolder, but further changes to the tree structure won't trigger adding/removing watches. Support for really recursive watches is planned. This is just to divide the work, because the task is not easy. http://crbug.com/8968

Patch Set 1 #

Total comments: 21

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -93 lines) Patch
M base/directory_watcher_inotify.cc View 1 10 chunks +232 lines, -83 lines 0 comments Download
M base/directory_watcher_unittest.cc View 1 4 chunks +46 lines, -10 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
j.dinata
Hi Pawel, This is a simpler version where watcher doesn't handle inotify events.
11 years, 8 months ago (2009-04-22 19:24:13 UTC) #1
Paweł Hajdan Jr.
Janwar, please also take a look at lint issues (each file has a "lint" column) ...
11 years, 8 months ago (2009-04-22 20:21:16 UTC) #2
Aaron Boodman
11 years, 8 months ago (2009-04-23 17:53:22 UTC) #3
On 2009/04/22 20:21:16, Paweł Hajdan Jr. wrote:
> Aaron, please just say if you're ok with this approach ("almost-recursive
> DirectoryWatcher on Linux").

It's fine. Thanks!

Powered by Google App Engine
This is Rietveld 408576698