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

Issue 6670081: Move FilePathWatcher class from browser/... to common/... (Closed)

Created:
9 years, 9 months ago by dmac
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Move FilePathWatcher class from chrome/browser/... to content/common... The service process needs FilePathWatcher, and with this change I got rid of the dependency on BrowserThread which allows it to be moved to common/... I also tried my hand at a kqueue impl on the Mac, but failed. See http://code.google.com/p/chromium/issues/detail?id=54822#c13 for details. BUG=74983 TEST=BUILD Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78664 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78665

Patch Set 1 #

Total comments: 22

Patch Set 2 : Addressed comments #

Total comments: 8

Patch Set 3 : Fix up based on comments #

Patch Set 4 : fix up linux clang issue, and clean up bad commented block #

Unified diffs Side-by-side diffs Delta from patch set Stats (+350 lines, -187 lines) Patch
D chrome/browser/file_path_watcher/file_path_watcher.cc View 1 chunk +0 lines, -19 lines 0 comments Download
M chrome/browser/policy/file_based_policy_loader.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/file_based_policy_loader.cc View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/user_style_sheet_watcher.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/user_style_sheet_watcher.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/user_style_sheet_watcher_unittest.cc View 1 2 3 2 chunks +15 lines, -8 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 3 chunks +0 lines, -9 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M content/browser/plugin_service.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/plugin_service.cc View 1 chunk +2 lines, -1 line 0 comments Download
A + content/common/file_path_watcher/file_path_watcher.h View 1 2 3 3 chunks +44 lines, -13 lines 0 comments Download
A content/common/file_path_watcher/file_path_watcher.cc View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
A + content/common/file_path_watcher/file_path_watcher_browsertest.cc View 1 2 3 15 chunks +89 lines, -74 lines 0 comments Download
A + content/common/file_path_watcher/file_path_watcher_inotify.cc View 1 2 3 8 chunks +44 lines, -23 lines 0 comments Download
A + content/common/file_path_watcher/file_path_watcher_mac.cc View 1 2 3 12 chunks +58 lines, -18 lines 0 comments Download
A + content/common/file_path_watcher/file_path_watcher_stub.cc View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
A + content/common/file_path_watcher/file_path_watcher_win.cc View 1 2 3 4 chunks +19 lines, -7 lines 0 comments Download
M content/content_common.gypi View 1 2 3 3 chunks +18 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
dmac
Mattias, would you mind taking a look? I did delete the other files in .../browser/file_path_watcher/*, ...
9 years, 9 months ago (2011-03-17 06:08:49 UTC) #1
jam
Since content\browser uses this, this class will eventually have to end up in content\common (since ...
9 years, 9 months ago (2011-03-17 06:20:23 UTC) #2
Mattias Nissler (ping if slow)
Here's a bunch of comments. In general, due to hard-to-track-down flakiness we've seen with the ...
9 years, 9 months ago (2011-03-17 10:37:56 UTC) #3
dmac
I think I addressed all comments. joaodasilva, I'm afraid this may be disruptive to your ...
9 years, 9 months ago (2011-03-17 17:16:48 UTC) #4
dmac
On 2011/03/17 06:08:49, dmac wrote: > Mattias, would you mind taking a look? > > ...
9 years, 9 months ago (2011-03-17 18:03:44 UTC) #5
Mattias Nissler (ping if slow)
Getting close, mostly nits. I'll be out of office till Monday and I don't see ...
9 years, 9 months ago (2011-03-17 18:14:26 UTC) #6
Joao da Silva
On 2011/03/17 17:16:48, dmac wrote: > I think I addressed all comments. joaodasilva, I'm afraid ...
9 years, 9 months ago (2011-03-17 20:31:33 UTC) #7
dmac
On 2011/03/17 18:14:26, Mattias Nissler wrote: > Getting close, mostly nits. I'll be out of ...
9 years, 9 months ago (2011-03-17 22:09:01 UTC) #8
dmac
9 years, 9 months ago (2011-03-17 22:11:23 UTC) #9
On 2011/03/17 20:31:33, joaodasilva wrote:
> No problem with my CL, I'll take care of it. This might even make it easier.
I'm
> not reviewing since I'm not a full committer yet, but LGTM!

Excellent. Thanks.

Powered by Google App Engine
This is Rietveld 408576698