Searched defs:suggested_path (Results 1 - 16 of 16) sorted by relevance

/external/chromium/chrome/browser/history/
H A Ddownload_create_info.h50 FilePath suggested_path; member in struct:DownloadCreateInfo
/external/chromium_org/chrome/browser/download/
H A Ddownload_file_picker.cc36 void RecordFilePickerResult(const base::FilePath& suggested_path, argument
39 if (suggested_path == actual_path)
43 else if (suggested_path.DirName() != actual_path.DirName())
57 const base::FilePath& suggested_path,
59 : suggested_path_(suggested_path),
120 const base::FilePath& suggested_path,
122 new DownloadFilePicker(item, suggested_path, callback);
55 DownloadFilePicker( DownloadItem* item, const base::FilePath& suggested_path, const FileSelectedCallback& callback) argument
119 ShowFilePicker(DownloadItem* item, const base::FilePath& suggested_path, const FileSelectedCallback& callback) argument
H A Ddownload_path_reservation_tracker.cc146 // - Verifies that the parent directory of |suggested_path| exists and is
149 // - Uniquifies |suggested_path| if |should_uniquify_path| is true.
154 const base::FilePath& suggested_path,
160 DCHECK(suggested_path.IsAbsolute());
170 base::FilePath target_path(suggested_path.NormalizePathSeparators());
152 CreateReservation( ReservationKey key, const base::FilePath& suggested_path, const base::FilePath& default_download_path, bool create_directory, DownloadPathReservationTracker::FilenameConflictAction conflict_action, const DownloadPathReservationTracker::ReservedPathCallback& callback) argument
H A Dsave_package_file_picker.cc113 const base::FilePath& suggested_path,
122 base::FilePath suggested_path_copy = suggested_path;
111 SavePackageFilePicker( content::WebContents* web_contents, const base::FilePath& suggested_path, const base::FilePath::StringType& default_extension, bool can_save_as_complete, DownloadPrefs* download_prefs, const content::SavePackagePathPickedCallback& callback) argument
H A Ddownload_target_determiner.cc239 const base::FilePath& suggested_path,
242 DVLOG(20) << "Extension suggested path: " << suggested_path.AsUTF8Unsafe();
244 if (!suggested_path.empty()) {
253 suggested_path).NormalizePathSeparators());
792 const base::FilePath& suggested_path) {
793 return base::FilePath(suggested_path.value() + kCrdownloadSuffix);
238 NotifyExtensionsDone( const base::FilePath& suggested_path, DownloadPathReservationTracker::FilenameConflictAction conflict_action) argument
791 GetCrDownloadPath( const base::FilePath& suggested_path) argument
H A Dchrome_download_manager_delegate.cc420 const base::FilePath& suggested_path,
427 suggested_path,
581 const base::FilePath& suggested_path,
584 DownloadFilePicker::ShowFilePicker(download, suggested_path, callback);
606 const base::FilePath& suggested_path,
615 service->IsSupportedDownload(*download, suggested_path);
418 ChooseSavePath( content::WebContents* web_contents, const base::FilePath& suggested_path, const base::FilePath::StringType& default_extension, bool can_save_as_complete, const content::SavePackagePathPickedCallback& callback) argument
579 PromptUserForDownloadPath( DownloadItem* download, const base::FilePath& suggested_path, const DownloadTargetDeterminerDelegate::FileSelectedCallback& callback) argument
604 CheckDownloadUrl( DownloadItem* download, const base::FilePath& suggested_path, const CheckDownloadUrlCallback& callback) argument
H A Ddownload_target_determiner_unittest.cc189 DownloadItem* download, const base::FilePath& suggested_path,
465 DownloadItem* download, const base::FilePath& suggested_path,
467 callback.Run(suggested_path);
464 NullPromptUser( DownloadItem* download, const base::FilePath& suggested_path, const FileSelectedCallback& callback) argument
/external/chromium_org/content/public/browser/
H A Ddownload_manager_delegate.h115 const base::FilePath& suggested_path,
113 ChooseSavePath( WebContents* web_contents, const base::FilePath& suggested_path, const base::FilePath::StringType& default_extension, bool can_save_as_complete, const SavePackagePathPickedCallback& callback) argument
/external/chromium/chrome/browser/ui/gtk/
H A Dcertificate_dialogs.cc99 FilePath suggested_path("certificate");
102 suggested_path = FilePath(cert_title);
106 suggested_path,
158 const FilePath& suggested_path,
184 suggested_path, &file_type_info, 1,
156 ShowCertSelectFileDialog(SelectFileDialog* select_file_dialog, SelectFileDialog::Type type, const FilePath& suggested_path, TabContents* tab_contents, gfx::NativeWindow parent, void* params) argument
/external/chromium_org/chrome/browser/ui/
H A Dcertificate_dialogs.cc87 base::FilePath suggested_path("certificate");
90 suggested_path = base::FilePath(cert_title);
94 suggested_path,
146 const base::FilePath& suggested_path,
171 suggested_path, &file_type_info,
144 ShowCertSelectFileDialog(ui::SelectFileDialog* select_file_dialog, ui::SelectFileDialog::Type type, const base::FilePath& suggested_path, gfx::NativeWindow parent, void* params) argument
/external/chromium_org/content/shell/browser/
H A Dshell_download_manager_delegate.cc117 base::FilePath suggested_path(suggested_directory.Append(generated_name));
123 this, download_id, callback, suggested_path));
129 const base::FilePath& suggested_path) {
133 callback.Run(suggested_path, DownloadItem::TARGET_DISPOSITION_OVERWRITE,
135 suggested_path.AddExtension(FILE_PATH_LITERAL(".crdownload")));
139 ChooseDownloadPath(download_id, callback, suggested_path);
145 const base::FilePath& suggested_path) {
153 std::wstring file_part = base::FilePath(suggested_path).BaseName().value();
164 if (!suggested_path.empty())
165 directory = suggested_path
126 OnDownloadPathGenerated( uint32 download_id, const DownloadTargetCallback& callback, const base::FilePath& suggested_path) argument
142 ChooseDownloadPath( uint32 download_id, const DownloadTargetCallback& callback, const base::FilePath& suggested_path) argument
[all...]
/external/chromium/chrome/browser/download/
H A Ddownload_manager_unittest.cc166 FilePath::StringType suggested_path; member in struct:__anon2094::__anon2096
354 FilePath new_path(kDownloadRenameCases[i].suggested_path);
H A Ddownload_util.cc872 FilePath GetCrDownloadPath(const FilePath& suggested_path) { argument
877 suggested_path.value().c_str());
884 info->suggested_path.BaseName());
H A Dsave_package.cc1314 void SavePackage::ContinueGetSaveInfo(const FilePath& suggested_path, argument
1335 if (!suggested_path.Extension().empty() &&
1336 suggested_path.Extension().compare(FILE_PATH_LITERAL("htm")) &&
1337 suggested_path.Extension().compare(FILE_PATH_LITERAL("html"))) {
1339 extra_extension = suggested_path.Extension().substr(1);
1372 suggested_path.Extension());
1388 suggested_path,
1397 // Just use 'suggested_path' instead of opening the dialog prompt.
1398 ContinueSave(suggested_path, file_type_index);
/external/chromium_org/content/browser/download/
H A Dsave_package.cc1385 void SavePackage::ContinueGetSaveInfo(const base::FilePath& suggested_path, argument
1400 suggested_path, local
/external/chromium_org/chrome/browser/extensions/api/downloads/
H A Ddownloads_api.cc1586 const base::FilePath& suggested_path,
1601 json->SetString(kFilenameKey, suggested_path.LossyDisplayName());
1584 OnDeterminingFilename( DownloadItem* item, const base::FilePath& suggested_path, const base::Closure& no_change, const FilenameChangedCallback& change) argument

Completed in 3653 milliseconds