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

Unified Diff: runtime/bin/builtin_natives.cc

Issue 19263003: Add FileSystemWatcher class to dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Simplify watching by removing FileSystemWatcher and adding FileSystemEntity.watch. Created 7 years, 4 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/builtin_natives.cc
diff --git a/runtime/bin/builtin_natives.cc b/runtime/bin/builtin_natives.cc
index 36d7a758e6a486fac03b32cfc925cfd60d3a44cf..7902af681f16cc195f1a837a5d3b5d0cb3184cc9 100644
--- a/runtime/bin/builtin_natives.cc
+++ b/runtime/bin/builtin_natives.cc
@@ -60,6 +60,10 @@ namespace bin {
V(File_GetType, 2) \
V(File_AreIdentical, 2) \
V(File_NewServicePort, 0) \
+ V(FileSystemWatcher_GetSocketId, 2) \
+ V(FileSystemWatcher_ReadEvents, 2) \
+ V(FileSystemWatcher_UnwatchPath, 2) \
+ V(FileSystemWatcher_WatchPath, 4) \
V(Logger_PrintString, 1)
BUILTIN_NATIVE_LIST(DECLARE_FUNCTION);

Powered by Google App Engine
This is Rietveld 408576698