Searched refs:leaf_name (Results 1 – 1 of 1) sorted by relevance
298 FilePath::StringType leaf_name = file_name->BaseName().value(); in GenerateSafeFileName() local299 DCHECK(!leaf_name.empty()); in GenerateSafeFileName()300 if (IsReservedName(leaf_name)) { in GenerateSafeFileName()301 leaf_name = FilePath::StringType(FILE_PATH_LITERAL("_")) + leaf_name; in GenerateSafeFileName()304 *file_name = FilePath(leaf_name); in GenerateSafeFileName()306 *file_name = file_name->Append(leaf_name); in GenerateSafeFileName()