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

Unified Diff: runtime/bin/file.h

Issue 8598011: Implement delete on File objects. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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.h
diff --git a/runtime/bin/file.h b/runtime/bin/file.h
index 0a29cddeb9d71270dbeb20ac3368797965600a95..382adffa7b760320cd7b11d41bfd0ea470831a94 100644
--- a/runtime/bin/file.h
+++ b/runtime/bin/file.h
@@ -56,6 +56,7 @@ class File {
static File* Open(const char* name, bool writable);
static bool Exists(const char* name);
static bool Create(const char* name);
+ static bool Delete(const char* name);
static bool IsAbsolutePath(const char* pathname);
static char* GetCanonicalPath(const char* name);
static const char* PathSeparator();

Powered by Google App Engine
This is Rietveld 408576698