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

Unified Diff: runtime/bin/file_system_watcher_android.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_android.cc
diff --git a/runtime/bin/file_system_watcher_android.cc b/runtime/bin/file_system_watcher_android.cc
index 996b334b93efc9f5437f65a8b0929db20e80ad34..35246946eb8b6ca8d32b553ef8d9b027105a3d1c 100644
--- a/runtime/bin/file_system_watcher_android.cc
+++ b/runtime/bin/file_system_watcher_android.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