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.h | |
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.h')
-rw-r--r-- | base/file_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/file_util.h b/base/file_util.h index f74ff97..4aac207 100644 --- a/base/file_util.h +++ b/base/file_util.h @@ -95,6 +95,10 @@ std::wstring GetDirectoryFromPath(const std::wstring& path); // Appends new_ending to path, adding a separator between the two if necessary. void AppendToPath(std::wstring* path, const std::wstring& new_ending); +// Convert provided relative path into an absolute path. Returns false on +// error. +bool AbsolutePath(std::wstring* path); + // Inserts |suffix| after the file name portion of |path| but before the // extension. // Examples: |