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

Unified Diff: base/files/file_path_watcher.cc

Issue 6793020: Move FilePathWatcher to base/files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use ::operator<< Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/files/file_path_watcher.h ('k') | base/files/file_path_watcher_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file_path_watcher.cc
diff --git a/content/common/file_path_watcher/file_path_watcher.cc b/base/files/file_path_watcher.cc
similarity index 85%
rename from content/common/file_path_watcher/file_path_watcher.cc
rename to base/files/file_path_watcher.cc
index 41f3e2b10a98ef490a0edc75691e407b9f244a49..7ce64ac49cf1df6eac1bbfdcda45cb71b4e92195 100644
--- a/content/common/file_path_watcher/file_path_watcher.cc
+++ b/base/files/file_path_watcher.cc
@@ -5,11 +5,14 @@
// Cross platform methods for FilePathWatcher. See the various platform
// specific implementation files, too.
-#include "content/common/file_path_watcher/file_path_watcher.h"
+#include "base/files/file_path_watcher.h"
#include "base/logging.h"
#include "base/message_loop.h"
+namespace base {
+namespace files {
+
FilePathWatcher::~FilePathWatcher() {
impl_->Cancel();
}
@@ -26,3 +29,5 @@ FilePathWatcher::PlatformDelegate::~PlatformDelegate() {
DCHECK(is_cancelled());
}
+} // namespace files
+} // namespace base
« no previous file with comments | « base/files/file_path_watcher.h ('k') | base/files/file_path_watcher_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698