summaryrefslogtreecommitdiffstats
path: root/base/file_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/file_util.h')
-rw-r--r--base/file_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/file_util.h b/base/file_util.h
index e62b30e..16f18f1 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -239,8 +239,8 @@ FilePath GetHomeDir();
bool CreateTemporaryFile(FilePath* path);
// Create and open a temporary file. File is opened for read/write.
-// The full path is placed in |path|, and the function returns true if
-// was successful in creating and opening the file.
+// The full path is placed in |path|.
+// Returns a handle to the opened file or NULL if an error occured.
FILE* CreateAndOpenTemporaryFile(FilePath* path);
// Like above but for shmem files. Only useful for POSIX.
FILE* CreateAndOpenTemporaryShmemFile(FilePath* path);