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

Unified Diff: runtime/bin/file.h

Issue 8437056: Implemented File create API. (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
« no previous file with comments | « runtime/bin/builtin_in.cc ('k') | runtime/bin/file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file.h
diff --git a/runtime/bin/file.h b/runtime/bin/file.h
index 905b6988004b7a496f4e2b7ca6e41206f89043ae..11f509a1370c37297d6112c473fabd47daeba6cd 100644
--- a/runtime/bin/file.h
+++ b/runtime/bin/file.h
@@ -52,8 +52,9 @@ class File {
const char* name() const { return name_; }
- static File* OpenFile(const char* name, bool writable);
- static bool FileExists(const char* name);
+ static File* Open(const char* name, bool writable);
+ static bool Exists(const char* name);
+ static bool Create(const char* name);
static bool IsAbsolutePath(const char* pathname);
static char* GetCanonicalPath(const char* name);
static const char* PathSeparator();
« no previous file with comments | « runtime/bin/builtin_in.cc ('k') | runtime/bin/file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698