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

Unified Diff: base/file_path_component_watcher_win.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_win.cc
diff --git a/base/file_path_component_watcher_win.cc b/base/file_path_component_watcher_win.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a5a4584a130ba2eb2a9c97b85f4847405905e804
--- /dev/null
+++ b/base/file_path_component_watcher_win.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 Windows.
+
+#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()
+ }
+};
+
+} // namespace
+
+FilePathComponentWatcher::FilePathComponentWatcher() {
+ impl_ = new FilePathComponentWatcherImpl();
+}
+
+} // namespace base

Powered by Google App Engine
This is Rietveld 408576698