diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-21 21:53:29 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-21 21:53:29 +0000 |
commit | 9cd885f4cf5525e3cbb66e4a1a7460217dea0d78 (patch) | |
tree | 6cb45bdbfca7632a428cea4220ca06b39bd58a3a /base/file_util.cc | |
parent | 84b604b1b6950eceb84e664d3e93567b6aab22b3 (diff) | |
download | chromium_src-9cd885f4cf5525e3cbb66e4a1a7460217dea0d78.zip chromium_src-9cd885f4cf5525e3cbb66e4a1a7460217dea0d78.tar.gz chromium_src-9cd885f4cf5525e3cbb66e4a1a7460217dea0d78.tar.bz2 |
Remove deprecated version of GetCurrentDirectory.
BUG=24672
Review URL: http://codereview.chromium.org/1751005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45247 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.cc')
-rw-r--r-- | base/file_util.cc | 7 |
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)); |