Home
last modified time | relevance | path

Searched refs:leaf_name (Results 1 – 1 of 1) sorted by relevance

/external/chromium/chrome/browser/download/
Ddownload_util.cc298 FilePath::StringType leaf_name = file_name->BaseName().value(); in GenerateSafeFileName() local
299 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()