summaryrefslogtreecommitdiffstats
path: root/base/file_util.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-09 20:45:07 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-09 20:45:07 +0000
commitfa7b1e3db23e140dd31a332fb510420449ce09e4 (patch)
tree39ad1f8688bd7612a206e90d479b29dfdf287218 /base/file_util.cc
parent8807162a05ecd0c6d6c4659047b1763058cad3c3 (diff)
downloadchromium_src-fa7b1e3db23e140dd31a332fb510420449ce09e4.zip
chromium_src-fa7b1e3db23e140dd31a332fb510420449ce09e4.tar.gz
chromium_src-fa7b1e3db23e140dd31a332fb510420449ce09e4.tar.bz2
Remove deprecated AbsolutePath function.
Review URL: http://codereview.chromium.org/271037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28593 0039d316-1c4b-4281-b951-d872f2087c98
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 d3a989b5..37adb04 100644
--- a/base/file_util.cc
+++ b/base/file_util.cc
@@ -294,13 +294,6 @@ bool ReadFileToString(const std::wstring& path, std::string* contents) {
return ReadFileToString(FilePath::FromWStringHack(path), contents);
}
-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();