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.cc775 base::FilePath download_path = in RunSizeTest() local
779 bool downloaded_path_exists = base::PathExists(download_path); in RunSizeTest()
788 EXPECT_TRUE(VerifyFile(download_path, expected_contents, file_size)); in RunSizeTest()
791 EXPECT_TRUE(base::DieFileDie(download_path, true)); in RunSizeTest()
792 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.cc136 base::FilePath download_path(download_item->GetTargetFilePath()); in CreateDownloadItemValue() local
137 file_value->Set("file_path", base::CreateFilePathValue(download_path)); in CreateDownloadItemValue()
139 net::FilePathToFileURL(download_path).spec()); in CreateDownloadItemValue()
/external/chromium_org/chrome/browser/devtools/
Ddevtools_file_helper.cc251 base::FilePath download_path = DownloadPrefs::FromDownloadManager( in Save() local
253 initial_path = download_path.AppendASCII(suggested_file_name); in Save()
/external/chromium_org/chrome/browser/extensions/
Dwebstore_installer.cc550 base::FilePath download_path = user_data_dir.Append(kWebstoreDownloadFolder); in DownloadCrx() local
553 *g_download_directory_for_tests : download_path); in DownloadCrx()
/external/chromium_org/chrome/browser/media_galleries/
Dmedia_galleries_preferences.cc411 base::FilePath download_path; in GetGalleryDisplayName() local
412 if (PathService::Get(chrome::DIR_DEFAULT_DOWNLOADS_SAFE, &download_path)) { in GetGalleryDisplayName()
414 if (download_path.AppendRelativePath(path, &relative)) in GetGalleryDisplayName()
/external/chromium_org/content/browser/web_contents/
Dweb_contents_view_aura.cc275 base::FilePath download_path = in PrepareDragForDownload() local
280 base::DeleteFileAfterReboot(download_path); in PrepareDragForDownload()
287 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.cc589 base::FilePath download_path(FILE_PATH_LITERAL("download/path")); in TEST_F() local