summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/file_util.cc8
-rw-r--r--base/file_util_deprecated.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/base/file_util.cc b/base/file_util.cc
index 254e649..2b5dc84 100644
--- a/base/file_util.cc
+++ b/base/file_util.cc
@@ -361,14 +361,6 @@ bool MemoryMappedFile::IsValid() {
// Deprecated functions ----------------------------------------------------
#if defined(OS_WIN)
-bool AbsolutePath(std::wstring* path_str) {
- FilePath path(FilePath::FromWStringHack(*path_str));
- if (!AbsolutePath(&path))
- return false;
- *path_str = path.ToWStringHack();
- return true;
-}
-
void AppendToPath(std::wstring* path, const std::wstring& new_ending) {
if (!path) {
NOTREACHED();
diff --git a/base/file_util_deprecated.h b/base/file_util_deprecated.h
index 45e60b7..9bafb31 100644
--- a/base/file_util_deprecated.h
+++ b/base/file_util_deprecated.h
@@ -49,8 +49,6 @@ void AppendToPath(std::wstring* path, const std::wstring& new_ending);
FilePath::StringType GetFileExtensionFromPath(const FilePath& path);
std::wstring GetFileExtensionFromPath(const std::wstring& path);
-bool AbsolutePath(std::wstring* path);
-
// Use version that takes a FilePath.
bool Delete(const std::wstring& path, bool recursive);
bool CopyDirectory(const std::wstring& from_path, const std::wstring& to_path,