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

Unified Diff: base/files/file_path_watcher_mac.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_linux.cc ('k') | base/files/file_path_watcher_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file_path_watcher_mac.cc
diff --git a/content/common/file_path_watcher/file_path_watcher_mac.cc b/base/files/file_path_watcher_mac.cc
similarity index 99%
rename from content/common/file_path_watcher/file_path_watcher_mac.cc
rename to base/files/file_path_watcher_mac.cc
index eb72b9428885e24225dde2c4b7c111449b353704..7b61f765509a8715536c3d522182e15ac7d9a339 100644
--- a/content/common/file_path_watcher/file_path_watcher_mac.cc
+++ b/base/files/file_path_watcher_mac.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 <fcntl.h>
#include <sys/event.h>
@@ -15,6 +15,9 @@
#include "base/message_loop_proxy.h"
#include "base/stringprintf.h"
+namespace base {
+namespace files {
+
namespace {
// Mac-specific file watcher implementation based on kqueue.
@@ -485,3 +488,6 @@ void FilePathWatcherImpl::CancelOnMessageLoopThread() {
FilePathWatcher::FilePathWatcher() {
impl_ = new FilePathWatcherImpl();
}
+
+} // namespace files
+} // namespace base
« no previous file with comments | « base/files/file_path_watcher_linux.cc ('k') | base/files/file_path_watcher_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698