Index: base/file_util.cc |
=================================================================== |
--- base/file_util.cc (revision 5112) |
+++ base/file_util.cc (working copy) |
@@ -343,6 +343,13 @@ |
bool CreateDirectory(const std::wstring& full_path) { |
return CreateDirectory(FilePath::FromWStringHack(full_path)); |
} |
+bool CreateTemporaryFileName(std::wstring* temp_file) { |
+ FilePath temp_file_path; |
+ if(!CreateTemporaryFileName(&temp_file_path)) |
Evan Martin
2008/11/10 23:45:35
space after if
|
+ return false; |
+ *temp_file = temp_file_path.ToWStringHack(); |
+ return true; |
+} |
bool GetCurrentDirectory(std::wstring* path_str) { |
FilePath path; |
if (!GetCurrentDirectory(&path)) |