diff options
-rw-r--r-- | base/file_util.cc | 7 | ||||
-rw-r--r-- | base/file_util_deprecated.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/base/file_util.cc b/base/file_util.cc index 95f334e..79921ff 100644 --- a/base/file_util.cc +++ b/base/file_util.cc @@ -375,13 +375,6 @@ bool Delete(const std::wstring& path, bool recursive) { bool EndsWithSeparator(const std::wstring& path) { return EndsWithSeparator(FilePath::FromWStringHack(path)); } -bool GetCurrentDirectory(std::wstring* path_str) { - FilePath path; - if (!GetCurrentDirectory(&path)) - return false; - *path_str = path.ToWStringHack(); - return true; -} std::wstring GetFileExtensionFromPath(const std::wstring& path) { FilePath::StringType extension = GetFileExtensionFromPath(FilePath::FromWStringHack(path)); diff --git a/base/file_util_deprecated.h b/base/file_util_deprecated.h index 9fad79c..9a8c5bf 100644 --- a/base/file_util_deprecated.h +++ b/base/file_util_deprecated.h @@ -49,7 +49,6 @@ FILE* OpenFile(const std::string& filename, const char* mode); FILE* OpenFile(const std::wstring& filename, const char* mode); int ReadFile(const std::wstring& filename, char* data, int size); int WriteFile(const std::wstring& filename, const char* data, int size); -bool GetCurrentDirectory(std::wstring* path); // Functions successfully deprecated on non-Windows, but Win-specific // callers remain. |