Lines Matching refs:suggested_path
309 info->suggested_path = last_download_path_; in CheckDownloadUrlDone()
311 info->suggested_path = download_prefs_->download_path(); in CheckDownloadUrlDone()
313 info->suggested_path = info->suggested_path.Append(generated_name); in CheckDownloadUrlDone()
315 info->suggested_path = info->save_info.file_path; in CheckDownloadUrlDone()
321 info, profile(), ShouldOpenFileBasedOnExtension(info->suggested_path)); in CheckDownloadUrlDone()
349 FilePath dir = info->suggested_path.DirName(); in CheckIfSuggestedPathExists()
350 FilePath filename = info->suggested_path.BaseName(); in CheckIfSuggestedPathExists()
354 PathService::Get(chrome::DIR_USER_DOCUMENTS, &info->suggested_path); in CheckIfSuggestedPathExists()
355 info->suggested_path = info->suggested_path.Append(filename); in CheckIfSuggestedPathExists()
360 info->original_name = FilePath(info->suggested_path).BaseName(); in CheckIfSuggestedPathExists()
383 info->suggested_path = path; in CheckIfSuggestedPathExists()
389 info->suggested_path); in CheckIfSuggestedPathExists()
393 download_util::AppendNumberToPath(&(info->suggested_path), in CheckIfSuggestedPathExists()
401 << info->suggested_path.value() << "\""; in CheckIfSuggestedPathExists()
412 file_util::WriteFile(info->suggested_path, "", 0); in CheckIfSuggestedPathExists()
415 info->suggested_path), "", 0); in CheckIfSuggestedPathExists()
439 file_type_info.extensions[0].push_back(info->suggested_path.Extension()); in OnPathExistenceAvailable()
447 info->suggested_path, in OnPathExistenceAvailable()
454 info->path = info->suggested_path; in OnPathExistenceAvailable()