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

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: plugin_service only uses FPW on linux 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
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..0ef30e02b2771415dbc181c39b33e0399870f60c 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,8 @@
#include "base/message_loop_proxy.h"
#include "base/stringprintf.h"
+using ::base::files::FilePathWatcher;
+
namespace {
// Mac-specific file watcher implementation based on kqueue.

Powered by Google App Engine
This is Rietveld 408576698