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 |