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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/base/file_util.h b/base/file_util.h
index b2e176b..a16c5c72 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -281,6 +281,14 @@ bool CreateNewTempDirectory(const FilePath::StringType& prefix,
// already exists. The directory is only readable by the current user.
bool CreateDirectory(const FilePath& full_path);
+#if defined(OS_WIN)
+// Added for debugging an issue where CreateDirectory() fails. LOG(*) does
+// not work, because the failure happens in a sandboxed process.
+// TODO(skerner): Remove once crbug/35198 is resolved.
+bool CreateDirectoryExtraLogging(const FilePath& full_path,
+ std::ostream& error);
+#endif // defined (OS_WIN)
+
// Returns the file size. Returns true on success.
bool GetFileSize(const FilePath& file_path, int64* file_size);