Chromium Code Reviews| Index: base/file_util.cc |
| =================================================================== |
| --- base/file_util.cc (revision 124466) |
| +++ base/file_util.cc (working copy) |
| @@ -394,21 +394,6 @@ |
| path->append(new_ending); |
| } |
| -bool CopyDirectory(const std::wstring& from_path, const std::wstring& to_path, |
| - bool recursive) { |
| - return CopyDirectory(FilePath::FromWStringHack(from_path), |
| - FilePath::FromWStringHack(to_path), |
| - recursive); |
| -} |
| -bool Delete(const std::wstring& path, bool recursive) { |
|
Lei Zhang
2012/03/02 03:06:39
This should have been deleted in an earlier CL, wh
|
| - return Delete(FilePath::FromWStringHack(path), recursive); |
| -} |
| -std::wstring GetFileExtensionFromPath(const std::wstring& path) { |
| - std::wstring file_name = FilePath(path).BaseName().value(); |
| - const std::wstring::size_type last_dot = file_name.rfind(kExtensionSeparator); |
| - return std::wstring(last_dot == std::wstring::npos ? L"" |
| - : file_name, last_dot + 1); |
| -} |
| FILE* OpenFile(const std::wstring& filename, const char* mode) { |
| return OpenFile(FilePath::FromWStringHack(filename), mode); |
| } |