summaryrefslogtreecommitdiffstats
path: root/base/file_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/file_util.cc')
-rw-r--r--base/file_util.cc7
1 files changed, 0 insertions, 7 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));