diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-17 01:39:11 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-17 01:39:11 +0000 |
commit | 50b722ccbcd5e018936b6aefadbcf2a131056886 (patch) | |
tree | a1708501133a1540e0a1b4c06de06cb080ec8ff1 /base | |
parent | 806dfe9175d0e1ff41a10bf1a608cde3ce6729bb (diff) | |
download | chromium_src-50b722ccbcd5e018936b6aefadbcf2a131056886.zip chromium_src-50b722ccbcd5e018936b6aefadbcf2a131056886.tar.gz chromium_src-50b722ccbcd5e018936b6aefadbcf2a131056886.tar.bz2 |
Remove deprecated AbsolutePath.
BUG=24672
TEST=trybots
Review URL: http://codereview.chromium.org/5915005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69501 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/file_util.cc | 8 | ||||
-rw-r--r-- | base/file_util_deprecated.h | 2 |
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, |