Chromium Code Reviews| 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..0c018d4ee4f0a1b83a2b48c0e68792b4612d8f8a 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,6 @@ 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_ |
|
brettw
2011/04/06 16:16:54
Blank line before this.
|