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

Unified Diff: base/files/file_path_watcher_stub.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_mac.cc ('k') | base/files/file_path_watcher_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 80%
rename from content/common/file_path_watcher/file_path_watcher_stub.cc
rename to base/files/file_path_watcher_stub.cc
index 42b6ec68bcbb1a6e2f73e3b766b0ed545ab08279..a693dc7d999c96d8a2ed1e587818a1291f2c7928 100644
--- a/content/common/file_path_watcher/file_path_watcher_stub.cc
+++ b/base/files/file_path_watcher_stub.cc
@@ -5,7 +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"
+
+namespace base {
+namespace files {
+
+namespace {
class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
public:
@@ -16,6 +21,11 @@ class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
}
};
+} // namespace
+
FilePathWatcher::FilePathWatcher() {
impl_ = new FilePathWatcherImpl();
}
+
+} // namespace files
+} // namespace base
« no previous file with comments | « base/files/file_path_watcher_mac.cc ('k') | base/files/file_path_watcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698