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

Unified Diff: runtime/bin/directory.h

Issue 8588029: Add Directory.createTemp() to asynchronously create a temporary directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added Windows code. 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/directory.h
diff --git a/runtime/bin/directory.h b/runtime/bin/directory.h
index 455e5568906e659bce3323de2e5326b35a0c5884..298db681b4c2b21df47bad3132b6c1a1c4349507 100644
--- a/runtime/bin/directory.h
+++ b/runtime/bin/directory.h
@@ -27,6 +27,8 @@ class Directory {
static bool Create(const char* path);
+ static char* CreateTemp(const char* const_template);
+
static bool Delete(const char* path);
DISALLOW_ALLOCATION();

Powered by Google App Engine
This is Rietveld 408576698