Home
last modified time | relevance | path

Searched refs:suggested_path (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/content/shell/browser/
Dshell_download_manager_delegate.cc117 base::FilePath suggested_path(suggested_directory.Append(generated_name)); in GenerateFilename() local
123 this, download_id, callback, suggested_path)); in GenerateFilename()
129 const base::FilePath& suggested_path) { in OnDownloadPathGenerated() argument
133 callback.Run(suggested_path, DownloadItem::TARGET_DISPOSITION_OVERWRITE, in OnDownloadPathGenerated()
135 suggested_path.AddExtension(FILE_PATH_LITERAL(".crdownload"))); in OnDownloadPathGenerated()
139 ChooseDownloadPath(download_id, callback, suggested_path); in OnDownloadPathGenerated()
145 const base::FilePath& suggested_path) { in ChooseDownloadPath() argument
153 std::wstring file_part = base::FilePath(suggested_path).BaseName().value(); in ChooseDownloadPath()
164 if (!suggested_path.empty()) in ChooseDownloadPath()
165 directory = suggested_path.DirName().value(); in ChooseDownloadPath()
[all …]
Dshell_download_manager_delegate.h51 const base::FilePath& suggested_path);
54 const base::FilePath& suggested_path);
/external/chromium_org/chrome/browser/download/
Ddownload_file_picker.cc36 void RecordFilePickerResult(const base::FilePath& suggested_path, in RecordFilePickerResult() argument
39 if (suggested_path == actual_path) in RecordFilePickerResult()
43 else if (suggested_path.DirName() != actual_path.DirName()) in RecordFilePickerResult()
57 const base::FilePath& suggested_path, in DownloadFilePicker() argument
59 : suggested_path_(suggested_path), in DownloadFilePicker()
120 const base::FilePath& suggested_path, in ShowFilePicker() argument
122 new DownloadFilePicker(item, suggested_path, callback); in ShowFilePicker()
Ddownload_file_picker.h37 const base::FilePath& suggested_path,
42 const base::FilePath& suggested_path,
Ddownload_test_file_activity_observer.cc53 const base::FilePath& suggested_path, in PromptUserForDownloadPath() argument
58 FROM_HERE, base::Bind(callback, (file_chooser_enabled_ ? suggested_path in PromptUserForDownloadPath()
Dchrome_download_manager_delegate.cc420 const base::FilePath& suggested_path, in ChooseSavePath() argument
427 suggested_path, in ChooseSavePath()
581 const base::FilePath& suggested_path, in PromptUserForDownloadPath() argument
584 DownloadFilePicker::ShowFilePicker(download, suggested_path, callback); in PromptUserForDownloadPath()
606 const base::FilePath& suggested_path, in CheckDownloadUrl() argument
615 service->IsSupportedDownload(*download, suggested_path); in CheckDownloadUrl()
Ddownload_target_determiner.cc239 const base::FilePath& suggested_path, in NotifyExtensionsDone() argument
242 DVLOG(20) << "Extension suggested path: " << suggested_path.AsUTF8Unsafe(); in NotifyExtensionsDone()
244 if (!suggested_path.empty()) { in NotifyExtensionsDone()
253 suggested_path).NormalizePathSeparators()); in NotifyExtensionsDone()
792 const base::FilePath& suggested_path) { in GetCrDownloadPath() argument
793 return base::FilePath(suggested_path.value() + kCrdownloadSuffix); in GetCrDownloadPath()
Ddownload_path_reservation_tracker.cc154 const base::FilePath& suggested_path, in CreateReservation() argument
160 DCHECK(suggested_path.IsAbsolute()); in CreateReservation()
170 base::FilePath target_path(suggested_path.NormalizePathSeparators()); in CreateReservation()
Dsave_package_file_picker.h19 const base::FilePath& suggested_path,
Dsave_package_file_picker.cc113 const base::FilePath& suggested_path, in SavePackageFilePicker() argument
122 base::FilePath suggested_path_copy = suggested_path; in SavePackageFilePicker()
Ddownload_target_determiner.h80 static base::FilePath GetCrDownloadPath(const base::FilePath& suggested_path);
Dchrome_download_manager_delegate_unittest.cc108 const base::FilePath& suggested_path, in PromptUserForDownloadPath() argument
112 suggested_path, in PromptUserForDownloadPath()
Dchrome_download_manager_delegate.h88 const base::FilePath& suggested_path,
/external/chromium/chrome/browser/download/
Ddownload_manager.cc309 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()
[all …]
Dsave_package.cc1314 void SavePackage::ContinueGetSaveInfo(const FilePath& suggested_path, in ContinueGetSaveInfo() argument
1335 if (!suggested_path.Extension().empty() && in ContinueGetSaveInfo()
1336 suggested_path.Extension().compare(FILE_PATH_LITERAL("htm")) && in ContinueGetSaveInfo()
1337 suggested_path.Extension().compare(FILE_PATH_LITERAL("html"))) { in ContinueGetSaveInfo()
1339 extra_extension = suggested_path.Extension().substr(1); in ContinueGetSaveInfo()
1372 suggested_path.Extension()); in ContinueGetSaveInfo()
1388 suggested_path, in ContinueGetSaveInfo()
1398 ContinueSave(suggested_path, file_type_index); in ContinueGetSaveInfo()
Ddownload_util.h264 FilePath GetCrDownloadPath(const FilePath& suggested_path);
Ddownload_util.cc872 FilePath GetCrDownloadPath(const FilePath& suggested_path) { in GetCrDownloadPath() argument
877 suggested_path.value().c_str()); in GetCrDownloadPath()
884 info->suggested_path.BaseName()); in IsDangerous()
/external/chromium/chrome/browser/ui/gtk/
Dcertificate_dialogs.cc99 FilePath suggested_path("certificate"); in Exporter() local
102 suggested_path = FilePath(cert_title); in Exporter()
106 suggested_path, in Exporter()
158 const FilePath& suggested_path, in ShowCertSelectFileDialog() argument
184 suggested_path, &file_type_info, 1, in ShowCertSelectFileDialog()
Dcertificate_dialogs.h14 const FilePath& suggested_path,
/external/chromium_org/chrome/browser/ui/
Dcertificate_dialogs.cc87 base::FilePath suggested_path("certificate"); in Exporter() local
90 suggested_path = base::FilePath(cert_title); in Exporter()
94 suggested_path, in Exporter()
146 const base::FilePath& suggested_path, in ShowCertSelectFileDialog() argument
171 suggested_path, &file_type_info, in ShowCertSelectFileDialog()
Dcertificate_dialogs.h17 const base::FilePath& suggested_path,
/external/chromium/chrome/browser/history/
Ddownload_create_info.h50 FilePath suggested_path; member
/external/chromium_org/ui/shell_dialogs/
Dselect_file_dialog_win.cc270 const base::FilePath suggested_path(suggested_name); in SaveFileAsWithFilter() local
271 std::wstring file_part = suggested_path.BaseName().value(); in SaveFileAsWithFilter()
308 if (IsDirectory(suggested_path)) { in SaveFileAsWithFilter()
309 directory = suggested_path.value(); in SaveFileAsWithFilter()
312 directory = suggested_path.DirName().value(); in SaveFileAsWithFilter()
365 suggested_ext = GetExtensionWithoutLeadingDot(suggested_path.Extension()); in SaveFileAsWithFilter()
/external/chromium_org/content/public/browser/
Ddownload_manager_delegate.h115 const base::FilePath& suggested_path, in ChooseSavePath() argument
/external/chromium_org/content/browser/download/
Dsave_package.h200 void ContinueGetSaveInfo(const base::FilePath& suggested_path,

12