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

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: Avoid test failures if /tmp does not exist. 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
« no previous file with comments | « runtime/bin/builtin_in.cc ('k') | runtime/bin/directory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/directory.h
diff --git a/runtime/bin/directory.h b/runtime/bin/directory.h
index 455e5568906e659bce3323de2e5326b35a0c5884..242c03d8fb6e64dbedd309a31f4dbda8fc7de254 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, int64_t number);
+
static bool Delete(const char* path);
DISALLOW_ALLOCATION();
« no previous file with comments | « runtime/bin/builtin_in.cc ('k') | runtime/bin/directory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698