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

Issue 6793020: Move FilePathWatcher to base/files. (Closed)

Created:
9 years, 8 months ago by Craig
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., pam+watch_chromium.org, brettw-cc_chromium.org, willchan no longer on Chromium
Visibility:
Public.

Description

Move FilePathWatcher to base/files. FilePathWatcher is going to be used in future for monitoring changes to /etc/resolv.conf so it needs live somewhere where various consumers can get at it without incurring the wrath of the layering gods. TEST=existing tests BUG=67734 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81606

Patch Set 1 #

Patch Set 2 : fix mac, win #

Patch Set 3 : alphabetize better #

Patch Set 4 : move OWNERS file and rebase to pick up latest changes #

Total comments: 11

Patch Set 5 : review fixes #

Patch Set 6 : plugin_service only uses FPW on linux #

Total comments: 3

Patch Set 7 : move back to browsertest and do some namespace cleanups #

Patch Set 8 : rebase since chrome_tests.gypi changed upstream #

Patch Set 9 : use ::operator<< #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -2042 lines) Patch
M base/base.gypi View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
A base/files/OWNERS View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A + base/files/file_path_watcher.h View 1 2 3 4 5 6 3 chunks +9 lines, -3 lines 0 comments Download
A + base/files/file_path_watcher.cc View 2 chunks +6 lines, -1 line 0 comments Download
A + base/files/file_path_watcher_browsertest.cc View 1 2 3 4 5 6 3 chunks +7 lines, -1 line 0 comments Download
A + base/files/file_path_watcher_linux.cc View 1 2 3 4 5 6 3 chunks +7 lines, -1 line 0 comments Download
A + base/files/file_path_watcher_mac.cc View 1 2 3 4 5 6 3 chunks +7 lines, -1 line 0 comments Download
A + base/files/file_path_watcher_stub.cc View 1 2 3 4 5 6 2 chunks +11 lines, -1 line 0 comments Download
A + base/files/file_path_watcher_win.cc View 1 2 3 4 5 6 7 8 4 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/policy/file_based_policy_loader.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/file_based_policy_loader.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/user_style_sheet_watcher.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/user_style_sheet_watcher.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M chrome/common/service_process_util_mac.mm View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/service_process_util_posix.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/plugin_service.h View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M content/browser/plugin_service.cc View 1 2 3 4 5 6 3 chunks +5 lines, -1 line 0 comments Download
D content/common/file_path_watcher/OWNERS View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
D content/common/file_path_watcher/file_path_watcher.h View 1 chunk +0 lines, -122 lines 0 comments Download
D content/common/file_path_watcher/file_path_watcher.cc View 1 chunk +0 lines, -28 lines 0 comments Download
D content/common/file_path_watcher/file_path_watcher_browsertest.cc View 1 chunk +0 lines, -616 lines 0 comments Download
D content/common/file_path_watcher/file_path_watcher_inotify.cc View 1 chunk +0 lines, -456 lines 0 comments Download
D content/common/file_path_watcher/file_path_watcher_mac.cc View 1 2 3 1 chunk +0 lines, -487 lines 0 comments Download
D content/common/file_path_watcher/file_path_watcher_stub.cc View 1 chunk +0 lines, -21 lines 0 comments Download
D content/common/file_path_watcher/file_path_watcher_win.cc View 1 chunk +0 lines, -274 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -15 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Craig
Hi Brett Could you review this for me or suggest someone appropriate please? Thank you. ...
9 years, 8 months ago (2011-04-05 15:30:38 UTC) #1
dmac
On 2011/04/05 15:30:38, Craig wrote: > Hi Brett > > Could you review this for ...
9 years, 8 months ago (2011-04-05 18:36:46 UTC) #2
Craig
On 2011/04/05 18:36:46, dmac wrote: [snip] > Craig, I think my file_path_watcher stuff is in. ...
9 years, 8 months ago (2011-04-05 19:30:30 UTC) #3
dmac
+ mnissler http://codereview.chromium.org/6793020/diff/5028/base/files/OWNERS File base/files/OWNERS (right): http://codereview.chromium.org/6793020/diff/5028/base/files/OWNERS#newcode1 base/files/OWNERS:1: mnissler@chromium.org oi... I don't think we want ...
9 years, 8 months ago (2011-04-05 19:55:51 UTC) #4
Craig
Thanks for the comments! I think I've fixed everything except the unit vs browser test ...
9 years, 8 months ago (2011-04-06 15:27:30 UTC) #5
brettw
http://codereview.chromium.org/6793020/diff/11001/base/files/file_path_watcher.h File base/files/file_path_watcher.h (right): http://codereview.chromium.org/6793020/diff/11001/base/files/file_path_watcher.h#newcode127 base/files/file_path_watcher.h:127: #endif // BASE_FILES_FILE_PATH_WATCHER_H_ Blank line before this. http://codereview.chromium.org/6793020/diff/11001/base/files/file_path_watcher_linux.cc File ...
9 years, 8 months ago (2011-04-06 16:16:54 UTC) #6
dmac
http://codereview.chromium.org/6793020/diff/5028/base/files/file_path_watcher_unittest.cc File base/files/file_path_watcher_unittest.cc (right): http://codereview.chromium.org/6793020/diff/5028/base/files/file_path_watcher_unittest.cc#newcode5 base/files/file_path_watcher_unittest.cc:5: #include "base/files/file_path_watcher.h" On 2011/04/06 15:27:30, Craig wrote: > On ...
9 years, 8 months ago (2011-04-06 16:19:53 UTC) #7
Craig
On 2011/04/06 16:16:54, brettw wrote: http://codereview.chromium.org/6793020/diff/11001/base/files/file_path_watcher_linux.cc#newcode456 > base/files/file_path_watcher_linux.cc:456: FilePathWatcher::FilePathWatcher() { > Doesn't this need to ...
9 years, 8 months ago (2011-04-06 18:14:25 UTC) #8
Ryan Sleevi
Craig: You hopped off IRC by the time I got around; the issue with operator<< ...
9 years, 8 months ago (2011-04-07 22:15:00 UTC) #9
Craig
On 2011/04/07 22:15:00, Ryan Sleevi wrote: > Craig: You hopped off IRC by the time ...
9 years, 8 months ago (2011-04-08 17:37:09 UTC) #10
Craig
> Please take another look. Thank you. Any comments? [ And just so I don't ...
9 years, 8 months ago (2011-04-13 15:22:07 UTC) #11
brettw
LGTM
9 years, 8 months ago (2011-04-13 15:38:02 UTC) #12
dmac
On 2011/04/13 15:38:02, brettw wrote: > LGTM LGTM
9 years, 8 months ago (2011-04-13 15:41:16 UTC) #13
jam
btw the content/common/file_path_watcher directory still exists
9 years, 8 months ago (2011-04-18 22:47:58 UTC) #14
Craig Schlenter
On 2011/04/18 22:47:58, John Abd-El-Malek wrote: > btw the content/common/file_path_watcher directory still exists Yes, I ...
9 years, 8 months ago (2011-04-19 03:59:52 UTC) #15
Craig
On 2011/04/19 03:59:52, Craig Schlenter wrote: > On 2011/04/18 22:47:58, John Abd-El-Malek wrote: > > ...
9 years, 8 months ago (2011-04-21 17:50:40 UTC) #16
dmaclach1
9 years, 8 months ago (2011-04-21 18:13:46 UTC) #17
Thanks Craig.

Cheers,
Dave

On Thu, Apr 21, 2011 at 10:50 AM,  <craig.schlenter@chromium.org> wrote:
> On 2011/04/19 03:59:52, Craig Schlenter wrote:
>>
>> On 2011/04/18 22:47:58, John Abd-El-Malek wrote:
>> > btw the content/common/file_path_watcher directory still exists
>
>> Yes, I did see that. Sorry :( I'm planning on doing a svn rm on the dir
>
> directly
>>
>> when I have some time to watch the tree and get sheriff approval to
>> directly
>> nuke it as neither git nor gcl are keen on killing the dir for me (well
>> it's
>> already gone in my git checkout but that didn't propagate through with
>> git-cl)
>
> FYI, I have nuked the empty subdir now in r82508 and filed crbug.com/80178
> for
> improving the gcl/git cl tools.
>
> http://codereview.chromium.org/6793020/
>

Powered by Google App Engine
This is Rietveld 408576698