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

Unified Diff: sdk/lib/_internal/lib/io_patch.dart

Issue 98773002: Rewrite file-system-watcher to better handle the different system APIs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Android impl and doc fix. Created 7 years 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
« no previous file with comments | « runtime/bin/file_system_watcher_win.cc ('k') | sdk/lib/io/file_system_entity.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/lib/io_patch.dart
diff --git a/sdk/lib/_internal/lib/io_patch.dart b/sdk/lib/_internal/lib/io_patch.dart
index d262d7995b9f05ba34c6af739d1c2bbadafbb085..bc87e41b546bb272d7ea6d1e60622ed8ce213732 100644
--- a/sdk/lib/_internal/lib/io_patch.dart
+++ b/sdk/lib/_internal/lib/io_patch.dart
@@ -345,8 +345,9 @@ patch class Stdin {
}
patch class _FileSystemWatcher {
- patch factory _FileSystemWatcher(String path, int events, bool recursive) {
- throw new UnsupportedError("_FileSystemWatcher._FileSystemWatcher");
+ patch static Stream<FileSystemEvent> watch(
+ String path, int events, bool recursive) {
+ throw new UnsupportedError("_FileSystemWatcher.watch");
}
patch static bool get isSupported {
throw new UnsupportedError("_FileSystemWatcher.isSupported");
« no previous file with comments | « runtime/bin/file_system_watcher_win.cc ('k') | sdk/lib/io/file_system_entity.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698