Home | History | Annotate | Download | only in download

Lines Matching refs:file_name

215 void GenerateExtension(const FilePath& file_name,
228 FilePath::StringType extension = file_name.Extension();
290 void GenerateSafeFileName(const std::string& mime_type, FilePath* file_name) {
293 GenerateExtension(*file_name, mime_type, &extension);
294 *file_name = file_name->ReplaceExtension(extension);
298 FilePath::StringType leaf_name = file_name->BaseName().value();
302 *file_name = file_name->DirName();
303 if (file_name->value() == FilePath::kCurrentDirectory) {
304 *file_name = FilePath(leaf_name);
306 *file_name = file_name->Append(leaf_name);
623 string16 file_name = download->GetFileNameToReportUser().LossyDisplayName();
624 file_name = base::i18n::GetDisplayStringInLTRDirectionality(file_name);
625 file_value->SetString("file_name", file_name);
873 FilePath::StringType file_name;
875 &file_name,
878 return FilePath(file_name);