Home | History | Annotate | Download | only in base

Lines Matching refs:extension

79 void ReplaceExtension(FilePath* path, const FilePath::StringType& extension) {
81 // If the new extension is "" or ".", then we will just remove the current
82 // extension.
83 if (!extension.empty() &&
84 extension != FilePath::StringType(&kExtensionSeparator, 1)) {
85 if (extension[0] != kExtensionSeparator)
87 clean_extension.append(extension);
97 // Erase the current extension, if any.
359 FilePath::StringType extension =
362 return extension;
364 return UTF8ToWide(extension);