summaryrefslogtreecommitdiffstats
path: root/base/file_util.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-05 22:36:56 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-05 22:36:56 +0000
commit970399b3aaa0a7d76dd1743654d8e1f7aed41cec (patch)
treea28d79a6023270c5c5c46c9d651e892f5d313fae /base/file_util.h
parent749eea04dd5fd17761046e19c177735a8b9fa209 (diff)
downloadchromium_src-970399b3aaa0a7d76dd1743654d8e1f7aed41cec.zip
chromium_src-970399b3aaa0a7d76dd1743654d8e1f7aed41cec.tar.gz
chromium_src-970399b3aaa0a7d76dd1743654d8e1f7aed41cec.tar.bz2
* switch download manager to using FilePath
* add empty() function to FilePath * implement file_util::GetFileExtensionFromPath Review URL: http://codereview.chromium.org/17032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.h')
-rw-r--r--base/file_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/file_util.h b/base/file_util.h
index 67cd59f..cf17cb3 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -77,6 +77,8 @@ std::wstring GetFilenameFromPath(const std::wstring& path);
// Returns "jpg" for path "C:\pics\jojo.jpg", or an empty string if
// the file has no extension.
+FilePath::StringType GetFileExtensionFromPath(const FilePath& path);
+// Deprecated temporary compatibility function.
std::wstring GetFileExtensionFromPath(const std::wstring& path);
// Returns 'jojo' for path "C:\pics\jojo.jpg".