Index: base/file_util_proxy.h |
diff --git a/base/file_util_proxy.h b/base/file_util_proxy.h |
index e716ab78655eaab84782b9af640d32a6614a54a6..11fc988b74ce7cfffa79dd8add756b573ad51cce 100644 |
--- a/base/file_util_proxy.h |
+++ b/base/file_util_proxy.h |
@@ -48,6 +48,13 @@ class FileUtilProxy { |
int file_flags, |
CreateOrOpenCallback* callback); |
+ // Creates a file with the given flags. This one is a variation of |
+ // CreateOrOpen but it doesn't return a file handle. |
brettw
2010/10/13 22:48:32
Sorry I didn't look at this before it was checked
kinuko
2010/10/13 23:01:28
I see the point, sorry for bringing the confusing
|
+ static bool Create(scoped_refptr<MessageLoopProxy> message_loop_proxy, |
+ const FilePath& file_path, |
+ int file_flags, |
+ CreateOrOpenCallback* callback); |
+ |
// Creates a temporary file for writing. The path and an open file handle |
// are returned. It is invalid to pass NULL for the callback. |
typedef Callback3<base::PlatformFileError /* error code */, |