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

Issue 92151: 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: 20

Patch Set 2 : '' #

Total comments: 12

Patch Set 3 : '' #

Total comments: 20

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : '' #

Total comments: 1

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -93 lines) Patch
M AUTHORS View 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M base/directory_watcher.h View 3 4 5 3 chunks +14 lines, -0 lines 0 comments Download
M base/directory_watcher_inotify.cc View 1 2 3 4 5 9 chunks +227 lines, -85 lines 0 comments Download
M base/directory_watcher_unittest.cc View 1 2 3 4 5 6 7 chunks +6 lines, -8 lines 1 comment Download
M base/file_util.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M base/file_util_posix.cc View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
j.dinata
This is suppose to be on issue http://codereview.chromium.org/92032 but gcl change will not add file_util.h ...
11 years, 8 months ago (2009-04-24 20:40:54 UTC) #1
Paweł Hajdan Jr.
http://codereview.chromium.org/92151/diff/1/4 File base/directory_watcher_inotify.cc (right): http://codereview.chromium.org/92151/diff/1/4#newcode84 Line 84: nit: unnecessary empty line http://codereview.chromium.org/92151/diff/1/4#newcode91 Line 91: void ...
11 years, 8 months ago (2009-04-24 21:26:04 UTC) #2
Paweł Hajdan Jr.
Some comments, but it's close. Be sure to ping Evan for review. http://codereview.chromium.org/92151/diff/2001/3003 File base/directory_watcher_inotify.cc ...
11 years, 8 months ago (2009-04-27 19:09:32 UTC) #3
Evan Martin
(Please ping me again after you've addressed Paweł's comments.)
11 years, 8 months ago (2009-04-27 21:43:24 UTC) #4
j.dinata
Hi Pawel, Evan, and Aaron, Please comment on this change list. This change list is ...
11 years, 7 months ago (2009-04-29 19:55:53 UTC) #5
Paweł Hajdan Jr.
This is almost good now. After you fix these issues, I'm going to submit it ...
11 years, 7 months ago (2009-04-29 20:29:42 UTC) #6
Paweł Hajdan Jr.
Oh, and there's one lint nit: http://codereview.chromium.org/lint_patch/issue92151_2005_2010 Please fix it. You can ignore the other ...
11 years, 7 months ago (2009-04-29 20:31:28 UTC) #7
j.dinata
Another iteration based on Pawel's review
11 years, 7 months ago (2009-05-01 06:40:28 UTC) #8
Paweł Hajdan Jr.
Just few nits. Please also sync with trunk. I recently landed a change in directory_watcher_unittest, ...
11 years, 7 months ago (2009-05-01 07:40:28 UTC) #9
j.dinata
Hi Here another iteration for nit fix and trunk sync on directory_watcher_unittest Thanks
11 years, 7 months ago (2009-05-05 05:33:16 UTC) #10
Paweł Hajdan Jr.
http://codereview.chromium.org/92151/diff/6001/6007 File base/directory_watcher_unittest.cc (right): http://codereview.chromium.org/92151/diff/6001/6007#newcode300 Line 300: // Outside of annonymous namespace so that FRIEND_TEST ...
11 years, 7 months ago (2009-05-05 15:25:38 UTC) #11
j.dinata
Hi Pawel, I sync up with the latest on this for easier merge. Thanks
11 years, 7 months ago (2009-05-07 17:31:52 UTC) #12
Paweł Hajdan Jr.
I don't understand why you're moving tests around (for not exiting directory and SubDirRecursive). Can ...
11 years, 7 months ago (2009-05-07 18:00:36 UTC) #13
j.dinata
Hi, This is reordering on directory_watcher_unittest.cc Thanks
11 years, 7 months ago (2009-05-12 03:34:13 UTC) #14
Paweł Hajdan Jr.
LGTM with one nit, which I will fix in the version which will be landing. ...
11 years, 7 months ago (2009-05-12 07:26:37 UTC) #15
Paweł Hajdan Jr.
11 years, 7 months ago (2009-05-14 17:52:06 UTC) #16

Powered by Google App Engine
This is Rietveld 408576698