Index: base/files/file_path_watcher_stub.cc |
diff --git a/content/common/file_path_watcher/file_path_watcher_stub.cc b/base/files/file_path_watcher_stub.cc |
similarity index 71% |
rename from content/common/file_path_watcher/file_path_watcher_stub.cc |
rename to base/files/file_path_watcher_stub.cc |
index 42b6ec68bcbb1a6e2f73e3b766b0ed545ab08279..5443714db6b7d762ec6cd05a3d71aa486857ba4c 100644 |
--- a/content/common/file_path_watcher/file_path_watcher_stub.cc |
+++ b/base/files/file_path_watcher_stub.cc |
@@ -5,9 +5,12 @@ |
// This file exists for Unix systems which don't have the inotify headers, and |
// thus cannot build file_watcher_inotify.cc |
-#include "chrome/common/file_path_watcher/file_path_watcher.h" |
+#include "base/files/file_path_watcher.h" |
-class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate { |
+namespace { |
+ |
+class FilePathWatcherImpl : |
+ public base::files::FilePathWatcher::PlatformDelegate { |
public: |
virtual bool Watch(const FilePath& path, |
FileWatcher::Delegate* delegate, |
dmac
2011/04/05 19:55:51
do you need base::files::FileWatcher::Delegate
Craig
2011/04/06 15:27:30
Fixed with 'using' to match the other changes.
|
@@ -16,6 +19,8 @@ class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate { |
} |
}; |
-FilePathWatcher::FilePathWatcher() { |
+} // namespace |
+ |
+base::files::FilePathWatcher::FilePathWatcher() { |
impl_ = new FilePathWatcherImpl(); |
} |