Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1137)

Issue 3184010: Reland 56341 - Add support for watching directories to FileWatcher. (Closed)

Created:
10 years, 4 months ago by Mattias Nissler (ping if slow)
Modified:
9 years, 7 months ago
Reviewers:
tony, Paweł Hajdan Jr.
CC:
chromium-reviews, John Grabowski, Paweł Hajdan Jr., pam+watch_chromium.org, ben+cc_chromium.org
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Reland 56341 - Add support for watching directories to FileWatcher. BUG=none TEST=Unit tests in file_watcher_unittest.cc. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=56670

Patch Set 1 #

Patch Set 2 : Fix data race due to gmock's EXPECT_CALL not being thread safe. #

Patch Set 3 : fix shutdown race condition. #

Total comments: 2

Patch Set 4 : give up on the windows file system... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1467 lines, -925 lines) Patch
A chrome/browser/file_path_watcher.h View 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/browser/file_path_watcher_inotify.cc View 1 chunk +410 lines, -0 lines 0 comments Download
A chrome/browser/file_path_watcher_mac.cc View 1 chunk +232 lines, -0 lines 0 comments Download
A chrome/browser/file_path_watcher_stub.cc View 1 chunk +19 lines, -0 lines 0 comments Download
A chrome/browser/file_path_watcher_unittest.cc View 1 2 3 1 chunk +465 lines, -0 lines 0 comments Download
A chrome/browser/file_path_watcher_win.cc View 1 2 1 chunk +243 lines, -0 lines 0 comments Download
D chrome/browser/file_watcher.h View 1 chunk +0 lines, -66 lines 0 comments Download
D chrome/browser/file_watcher_inotify.cc View 1 chunk +0 lines, -302 lines 0 comments Download
D chrome/browser/file_watcher_mac.cc View 1 chunk +0 lines, -157 lines 0 comments Download
D chrome/browser/file_watcher_stub.cc View 1 chunk +0 lines, -19 lines 0 comments Download
D chrome/browser/file_watcher_unittest.cc View 1 chunk +0 lines, -242 lines 0 comments Download
D chrome/browser/file_watcher_win.cc View 1 chunk +0 lines, -111 lines 0 comments Download
M chrome/browser/user_style_sheet_watcher.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/user_style_sheet_watcher.cc View 4 chunks +19 lines, -19 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Mattias Nissler (ping if slow)
Due to a test failure on WinXP, I had to revert. Turns out that the ...
10 years, 4 months ago (2010-08-17 16:54:00 UTC) #1
tony
LGTM
10 years, 4 months ago (2010-08-17 17:11:55 UTC) #2
Paweł Hajdan Jr.
Rubber-stamp LGTM
10 years, 4 months ago (2010-08-17 18:20:45 UTC) #3
Mattias Nissler (ping if slow)
On 2010/08/17 18:20:45, Paweł Hajdan Jr. wrote: > Rubber-stamp LGTM Sorry to bother you again ...
10 years, 4 months ago (2010-08-18 17:08:50 UTC) #4
tony
http://codereview.chromium.org/3184010/diff/6001/7005 File chrome/browser/file_path_watcher_unittest.cc (right): http://codereview.chromium.org/3184010/diff/6001/7005#newcode431 chrome/browser/file_path_watcher_unittest.cc:431: ASSERT_FALSE(file_util::PathExists(dir)); If the directory doesn't get created, will the ...
10 years, 4 months ago (2010-08-18 18:05:48 UTC) #5
Mattias Nissler (ping if slow)
http://codereview.chromium.org/3184010/diff/6001/7005 File chrome/browser/file_path_watcher_unittest.cc (right): http://codereview.chromium.org/3184010/diff/6001/7005#newcode431 chrome/browser/file_path_watcher_unittest.cc:431: ASSERT_FALSE(file_util::PathExists(dir)); On 2010/08/18 18:05:48, tony wrote: > If the ...
10 years, 4 months ago (2010-08-18 18:17:22 UTC) #6
tony
10 years, 4 months ago (2010-08-18 18:20:53 UTC) #7
Ok, LGTM!

Powered by Google App Engine
This is Rietveld 408576698