Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/download/
Ddownload_status_updater_mac.mm185 base::FilePath download_path = download->GetFullPath();
186 if (progress_data->target() != download_path) {
187 progress_data->setTarget(download_path);
189 base::mac::FilePathToNSString(download_path)];
237 NSString* download_path =
243 object:download_path];
247 NSString* parent_path = [download_path stringByDeletingLastPathComponent];
Ddownload_prefs.cc53 bool DownloadPathIsDangerous(const base::FilePath& download_path) { in DownloadPathIsDangerous() argument
56 if (download_path == home_dir) { in DownloadPathIsDangerous()
70 return (download_path == desktop_dir); in DownloadPathIsDangerous()
Ddownload_browsertest.cc772 base::FilePath download_path = in RunSizeTest() local
776 bool downloaded_path_exists = base::PathExists(download_path); in RunSizeTest()
785 EXPECT_TRUE(VerifyFile(download_path, expected_contents, file_size)); in RunSizeTest()
788 EXPECT_TRUE(base::DieFileDie(download_path, true)); in RunSizeTest()
789 EXPECT_FALSE(base::PathExists(download_path)); in RunSizeTest()
/external/chromium_org/tools/real_world_impact/
Dreal_world_impact.py214 download_path = os.path.join(host_dir, url_parts.hostname, "index.html")
215 if not os.path.exists(download_path):
233 download_path = os.path.join(host_dir, url_parts.hostname, "index.html")
234 if not os.path.exists(download_path):
/external/chromium_org/chrome/browser/ui/webui/
Ddownloads_dom_handler.cc132 base::FilePath download_path(download_item->GetTargetFilePath()); in CreateDownloadItemValue() local
133 file_value->Set("file_path", base::CreateFilePathValue(download_path)); in CreateDownloadItemValue()
135 net::FilePathToFileURL(download_path).spec()); in CreateDownloadItemValue()
/external/chromium_org/chrome/browser/devtools/
Ddevtools_file_helper.cc252 base::FilePath download_path = DownloadPrefs::FromDownloadManager( in Save() local
254 initial_path = download_path.AppendASCII(suggested_file_name); in Save()
/external/chromium_org/chrome/browser/extensions/
Dwebstore_installer.cc553 base::FilePath download_path = user_data_dir.Append(kWebstoreDownloadFolder); in DownloadCrx() local
556 *g_download_directory_for_tests : download_path); in DownloadCrx()
/external/chromium_org/chrome/browser/media_galleries/
Dmedia_galleries_preferences.cc355 base::FilePath download_path; in GetGalleryDisplayName() local
356 if (PathService::Get(chrome::DIR_DEFAULT_DOWNLOADS_SAFE, &download_path)) { in GetGalleryDisplayName()
358 if (download_path.AppendRelativePath(path, &relative)) in GetGalleryDisplayName()
/external/chromium_org/content/browser/web_contents/
Dweb_contents_view_aura.cc286 base::FilePath download_path = in PrepareDragForDownload() local
291 base::DeleteFileAfterReboot(download_path); in PrepareDragForDownload()
298 download_path, in PrepareDragForDownload()
/external/chromium_org/chrome/browser/lifetime/
Dbrowser_close_manager_browsertest.cc722 download_prefs->SetDownloadPath(download_path()); in SetDownloadPathForProfile()
725 const base::FilePath& download_path() const { in download_path() function in BrowserCloseManagerWithDownloadsBrowserTest
/external/chromium_org/content/browser/download/
Ddownload_manager_impl_unittest.cc588 base::FilePath download_path(FILE_PATH_LITERAL("download/path")); in TEST_F() local