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..3f9ca6fc7f2c62e46b790c1a750bf60f411eb6e5 |
--- /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; |
+ } |
+}; |
+ |
+} // namespace |
+ |
+FilePathComponentWatcher::FilePathComponentWatcher() { |
+ impl_ = new FilePathComponentWatcherImpl(); |
+} |
+ |
+} // namespace base |