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

Unified Diff: base/files/file_path_watcher_linux.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_browsertest.cc ('k') | base/files/file_path_watcher_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file_path_watcher_linux.cc
diff --git a/content/common/file_path_watcher/file_path_watcher_inotify.cc b/base/files/file_path_watcher_linux.cc
similarity index 99%
rename from content/common/file_path_watcher/file_path_watcher_inotify.cc
rename to base/files/file_path_watcher_linux.cc
index f91756f6efe8d20493f849c76ac63e9f9a392756..0fb10e4590e448dadb90f23e5492e153efce0297 100644
--- a/content/common/file_path_watcher/file_path_watcher_inotify.cc
+++ b/base/files/file_path_watcher_linux.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/common/file_path_watcher/file_path_watcher.h"
+#include "base/files/file_path_watcher.h"
#include <errno.h>
#include <string.h>
@@ -29,6 +29,9 @@
#include "base/task.h"
#include "base/threading/thread.h"
+namespace base {
+namespace files {
+
namespace {
class FilePathWatcherImpl;
@@ -454,3 +457,6 @@ bool FilePathWatcherImpl::UpdateWatches() {
FilePathWatcher::FilePathWatcher() {
impl_ = new FilePathWatcherImpl();
}
+
+} // namespace files
+} // namespace base
« no previous file with comments | « base/files/file_path_watcher_browsertest.cc ('k') | base/files/file_path_watcher_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698