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

Unified Diff: runtime/bin/file_system_watcher_linux.cc

Issue 23483030: Make file system watcher compile on Mac OS 106, and add a runtime-call to test if the system suppor… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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: runtime/bin/file_system_watcher_linux.cc
diff --git a/runtime/bin/file_system_watcher_linux.cc b/runtime/bin/file_system_watcher_linux.cc
index 1a4e7820427bf760d5e0574858748a45b5a0dedb..c629718f855884f952246aa3a7f7acfa8f7baf0f 100644
--- a/runtime/bin/file_system_watcher_linux.cc
+++ b/runtime/bin/file_system_watcher_linux.cc
@@ -14,6 +14,11 @@
namespace dart {
namespace bin {
+bool FileSystemWatcher::IsSupported() {
+ return true;
+}
+
+
intptr_t FileSystemWatcher::WatchPath(const char* path,
int events,
bool recursive) {

Powered by Google App Engine
This is Rietveld 408576698