diff options
Diffstat (limited to 'base/file_util.cc')
-rw-r--r-- | base/file_util.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/base/file_util.cc b/base/file_util.cc index 8d1b517..e5c8f5a 100644 --- a/base/file_util.cc +++ b/base/file_util.cc @@ -347,19 +347,6 @@ bool ContentsEqual(const std::wstring& filename1, bool CreateDirectory(const std::wstring& full_path) { return CreateDirectory(FilePath::FromWStringHack(full_path)); } -bool CreateNewTempDirectory(const std::wstring& prefix, - std::wstring* new_temp_path) { -#if defined(OS_WIN) - FilePath::StringType dir_prefix(prefix); -#elif defined(OS_POSIX) - FilePath::StringType dir_prefix = WideToUTF8(prefix); -#endif - FilePath temp_path; - if (!CreateNewTempDirectory(dir_prefix, &temp_path)) - return false; - *new_temp_path = temp_path.ToWStringHack(); - return true; -} bool Delete(const std::wstring& path, bool recursive) { return Delete(FilePath::FromWStringHack(path), recursive); } |