Index: base/file_util.cc |
=================================================================== |
--- base/file_util.cc (revision 5562) |
+++ base/file_util.cc (working copy) |
@@ -370,6 +370,12 @@ |
*path_str = path.ToWStringHack(); |
return true; |
} |
+FILE* OpenFile(const std::wstring& filename, const char* mode) { |
+ return OpenFile(FilePath::FromWStringHack(filename), mode); |
+} |
+bool SetCurrentDirectory(const std::wstring& directory) { |
+ return SetCurrentDirectory(FilePath::FromWStringHack(directory)); |
+} |
} // namespace |