diff options
author | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-12 17:33:52 +0000 |
---|---|---|
committer | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-12 17:33:52 +0000 |
commit | 1265917f0c7b19bb242e21111032fb4f35b3767a (patch) | |
tree | 999c4397962987f16d9d20fd4e76f31ae52d397c /base/file_util_posix.cc | |
parent | 5513ee8e5373a2e7e52d2ec32ce2b608d6ac1415 (diff) | |
download | chromium_src-1265917f0c7b19bb242e21111032fb4f35b3767a.zip chromium_src-1265917f0c7b19bb242e21111032fb4f35b3767a.tar.gz chromium_src-1265917f0c7b19bb242e21111032fb4f35b3767a.tar.bz2 |
I accidentally committed file_version_info. Since comments were relatively minor, I created a new CL rather than reverting the old one.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@722 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util_posix.cc')
-rw-r--r-- | base/file_util_posix.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc index 41a0ac6..510747f 100644 --- a/base/file_util_posix.cc +++ b/base/file_util_posix.cc @@ -54,6 +54,10 @@ std::wstring GetDirectoryFromPath(const std::wstring& path) { #endif return UTF8ToWide(dirname(full_path)); } + +bool AbsolutePath(std::wstring* path) { + return ResolveShortcut(path); +} bool Delete(const std::wstring& path, bool recursive) { std::string utf8_path = WideToUTF8(path); |