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

Unified Diff: base/file_path_component_watcher_linux.cc

Issue 6660001: Getting service process on Mac to handle having things moved/changed underneath it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed up phajdan's comments, got things working properly Created 9 years, 9 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/file_path_component_watcher_linux.cc
diff --git a/base/file_path_component_watcher_linux.cc b/base/file_path_component_watcher_linux.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0ff67fce9ffb909c04ecd18fa331b3f8cb885172
--- /dev/null
+++ b/base/file_path_component_watcher_linux.cc
@@ -0,0 +1,28 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// FilePathComponentWatcher is not currently implemented on Linux.
+
+#include "base/file_path_component_watcher.h"
+
+namespace base {
+
+namespace {
+
+class FilePathComponentWatcherImpl
+ : public FilePathComponentWatcher::PlatformDelegate {
+ public:
+ virtual bool Watch(const FilePath& path,
+ FilePathComponentWatcher::Delegate* delegate) {
+ return false;
sanjeevr 2011/03/11 08:26:42 NOTIMPLEMENTED() here?
+ }
+};
+
+} // namespace
Mark Mentovai 2011/03/11 20:13:52 } // namespace (two spaces between } and //.)
+
+FilePathComponentWatcher::FilePathComponentWatcher() {
+ impl_ = new FilePathComponentWatcherImpl();
+}
+
+} // namespace base

Powered by Google App Engine
This is Rietveld 408576698