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

Issue 661359: Add a FileWatcher to base/. (Closed)

Created:
10 years, 9 months ago by tony
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add a FileWatcher to base/. This is like Directory Watcher, but only for a single file. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=40980

Patch Set 1 #

Patch Set 2 : wip #

Patch Set 3 : mac #

Patch Set 4 : win fixes #

Patch Set 5 : win and mac fixes #

Patch Set 6 : update comment #

Patch Set 7 : DieFileDie #

Patch Set 8 : it's ok for unittests to include from base/test/ #

Total comments: 20

Patch Set 9 : feedback #

Patch Set 10 : 2s #

Unified diffs Side-by-side diffs Delta from patch set Stats (+939 lines, -0 lines) Patch
M base/base.gyp View 7 8 1 chunk +1 line, -0 lines 0 comments Download
M base/base.gypi View 4 chunks +22 lines, -0 lines 0 comments Download
A base/file_watcher.h View 1 2 3 4 5 6 7 8 9 1 chunk +65 lines, -0 lines 0 comments Download
A base/file_watcher_inotify.cc View 1 2 3 4 5 6 7 8 1 chunk +323 lines, -0 lines 0 comments Download
A base/file_watcher_mac.cc View 1 2 3 4 5 6 7 8 9 1 chunk +134 lines, -0 lines 0 comments Download
A base/file_watcher_stub.cc View 1 chunk +20 lines, -0 lines 0 comments Download
A base/file_watcher_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +261 lines, -0 lines 0 comments Download
A base/file_watcher_win.cc View 1 2 3 4 5 6 7 8 9 1 chunk +113 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
tony
See the warnings in the header file for the limitations of this class. Kind of ...
10 years, 9 months ago (2010-03-05 05:30:12 UTC) #1
Paweł Hajdan Jr.
Generally looks good, just some comments. By the way, feel free to consider passing the ...
10 years, 9 months ago (2010-03-05 08:53:20 UTC) #2
tony
http://codereview.chromium.org/661359/diff/1055/1056 File base/DEPS (left): http://codereview.chromium.org/661359/diff/1055/1056#oldcode7 base/DEPS:7: # Testing stuff shouldn't be used by the general ...
10 years, 9 months ago (2010-03-08 02:22:16 UTC) #3
Paweł Hajdan Jr.
Just one more comment about checking the modification time. My understanding is that when there ...
10 years, 9 months ago (2010-03-08 08:02:04 UTC) #4
tony
On 2010/03/08 08:02:04, Paweł Hajdan Jr. wrote: > Just one more comment about checking the ...
10 years, 9 months ago (2010-03-08 11:46:31 UTC) #5
Paweł Hajdan Jr.
10 years, 9 months ago (2010-03-08 11:51:13 UTC) #6
Thanks, LGTM!

Powered by Google App Engine
This is Rietveld 408576698