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

Unified Diff: runtime/bin/file_system_watcher.h

Issue 39613002: Close file watcher when target is deleted. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't always emit delete, and fix docs. Created 7 years, 2 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
« no previous file with comments | « runtime/bin/file_patch.dart ('k') | runtime/bin/file_system_watcher_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_system_watcher.h
diff --git a/runtime/bin/file_system_watcher.h b/runtime/bin/file_system_watcher.h
index ea56c11850aa7ad05614e5946edbda40c1d0ee75..943467478f1ceed573f84519a0147fbf069bf43e 100644
--- a/runtime/bin/file_system_watcher.h
+++ b/runtime/bin/file_system_watcher.h
@@ -24,7 +24,8 @@ class FileSystemWatcher {
kModifyContent = 1 << 1,
kDelete = 1 << 2,
kMove = 1 << 3,
- kModefyAttribute = 1 << 4
+ kModefyAttribute = 1 << 4,
+ kDeleteSelf = 1 << 5
};
struct Event {
« no previous file with comments | « runtime/bin/file_patch.dart ('k') | runtime/bin/file_system_watcher_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698