diff options
author | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 14:26:03 +0000 |
---|---|---|
committer | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 14:26:03 +0000 |
commit | 392d74d532301d0db584a1c320d32f4899d58d8f (patch) | |
tree | a3e31864beb5433f92494887f25db45ca9518686 /chrome/browser/user_style_sheet_watcher.h | |
parent | a66c64480aee2b73328961fb5ffdd074098a74fb (diff) | |
download | chromium_src-392d74d532301d0db584a1c320d32f4899d58d8f.zip chromium_src-392d74d532301d0db584a1c320d32f4899d58d8f.tar.gz chromium_src-392d74d532301d0db584a1c320d32f4899d58d8f.tar.bz2 |
Add support for watching directories to FileWatcher.
BUG=none
TEST=Unit tests in file_watcher_unittest.cc.
Review URL: http://codereview.chromium.org/3149004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56341 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/user_style_sheet_watcher.h')
-rw-r--r-- | chrome/browser/user_style_sheet_watcher.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/user_style_sheet_watcher.h b/chrome/browser/user_style_sheet_watcher.h index c4974de..a322837 100644 --- a/chrome/browser/user_style_sheet_watcher.h +++ b/chrome/browser/user_style_sheet_watcher.h @@ -10,7 +10,7 @@ #include "base/ref_counted.h" #include "base/scoped_ptr.h" #include "chrome/browser/chrome_thread.h" -#include "chrome/browser/file_watcher.h" +#include "chrome/browser/file_path_watcher.h" #include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "googleurl/src/gurl.h" @@ -44,7 +44,7 @@ class UserStyleSheetWatcher scoped_refptr<UserStyleSheetLoader> loader_; // Watches for changes to the css file so we can reload the style sheet. - scoped_ptr<FileWatcher> file_watcher_; + scoped_ptr<FilePathWatcher> file_watcher_; NotificationRegistrar registrar_; |