Index: base/files/file_path_watcher.h |
diff --git a/content/common/file_path_watcher/file_path_watcher.h b/base/files/file_path_watcher.h |
similarity index 95% |
rename from content/common/file_path_watcher/file_path_watcher.h |
rename to base/files/file_path_watcher.h |
index 094b04f98e15bb6a580dbf450f8dc92b2910d333..2cf95c6b63d2b758d62ab912d90a03252bfa0be8 100644 |
--- a/content/common/file_path_watcher/file_path_watcher.h |
+++ b/base/files/file_path_watcher.h |
@@ -4,8 +4,8 @@ |
// This module provides a way to monitor a file or directory for changes. |
-#ifndef CONTENT_COMMON_FILE_PATH_WATCHER_FILE_PATH_WATCHER_H_ |
-#define CONTENT_COMMON_FILE_PATH_WATCHER_FILE_PATH_WATCHER_H_ |
+#ifndef BASE_FILES_FILE_PATH_WATCHER_H_ |
+#define BASE_FILES_FILE_PATH_WATCHER_H_ |
#pragma once |
#include "base/basictypes.h" |
@@ -13,6 +13,9 @@ |
#include "base/memory/ref_counted.h" |
#include "base/message_loop_proxy.h" |
+namespace base { |
+namespace files { |
+ |
// This class lets you register interest in changes on a FilePath. |
// The delegate will get called whenever the file or directory referenced by the |
// FilePath is changed, including created or deleted. Due to limitations in the |
@@ -119,4 +122,7 @@ class FilePathWatcher { |
DISALLOW_COPY_AND_ASSIGN(FilePathWatcher); |
}; |
-#endif // CONTENT_COMMON_FILE_PATH_WATCHER_FILE_PATH_WATCHER_H_ |
+} // namespace files |
+} // namespace base |
+ |
+#endif // BASE_FILES_FILE_PATH_WATCHER_H_ |