Index: base/file_util.h |
=================================================================== |
--- base/file_util.h (revision 4245) |
+++ base/file_util.h (working copy) |
@@ -67,6 +67,9 @@ |
// the file has no extension. |
std::wstring GetFileExtensionFromPath(const std::wstring& path); |
+// Returns 'jojo' for path "C:\pics\jojo.jpg". |
+std::wstring GetFilenameWithoutExtensionFromPath(const std::wstring& path); |
+ |
// Returns the directory component of a path, without the trailing |
// path separator, or an empty string on error. The function does not |
// check for the existence of the path, so if it is passed a directory |