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

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: Cleanup 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..96b8eb8e58e688199fe9ecd94bcd67a6a3394682 100644
--- a/runtime/bin/builtin_natives.cc
+++ b/runtime/bin/builtin_natives.cc
@@ -60,6 +60,12 @@ namespace bin {
V(File_GetType, 2) \
V(File_AreIdentical, 2) \
V(File_NewServicePort, 0) \
+ V(FileSystemWatcher_Init, 1) \
+ V(FileSystemWatcher_Stop, 2) \
+ V(FileSystemWatcher_GetSocketId, 3) \
+ V(FileSystemWatcher_AddPath, 5) \
+ V(FileSystemWatcher_RemovePath, 3) \
+ V(FileSystemWatcher_ReadNextEvent, 3) \
V(Logger_PrintString, 1)
BUILTIN_NATIVE_LIST(DECLARE_FUNCTION);

Powered by Google App Engine
This is Rietveld 408576698