/external/chromium/chrome/browser/download/ |
D | download_util_unittest.cc | 456 download_util::GenerateFileName(GURL(kGenerateFileNameTestCases[i].url), in TEST() 467 download_util::GenerateFileName(GURL(kGenerateFileNameTestCases[i].url), in TEST() 479 download_util::GenerateFileName(GURL("http://www.example.com/images?id=3"), in TEST() 489 download_util::GenerateFileName(GURL("http://www.example.com/images?id=3"), in TEST() 576 download_util::GenerateSafeFileName(kSafeFilenameCases[i].mime_type, &path); in TEST()
|
D | download_item.cc | 271 download_util::OpenChromeExtension(download_manager_->profile(), in OpenDownload() 345 download_util::RecordDownloadCount(download_util::CANCELLED_COUNT); in Cancel() 371 download_util::RecordDownloadCount(download_util::COMPLETED_COUNT); in Completed() 375 download_util::OpenChromeExtension(download_manager_->profile(), in Completed() 604 download_util::AppendNumberToPath(&name, path_uniquifier_); in GetFileNameToReportUser()
|
D | download_prefs.cc | 37 if (!extensions[i].empty() && download_util::IsFileSafe(path)) in DownloadPrefs() 56 download_util::GetDefaultDownloadDirectory(); in RegisterUserPrefs() 73 if (download_util::DownloadPathIsDangerous(current_download_dir)) { in RegisterUserPrefs()
|
D | download_manager_unittest.cc | 368 FilePath crdownload(download_util::GetCrDownloadPath(new_path)); in TEST_F() 410 const FilePath cr_path(download_util::GetCrDownloadPath(new_path)); in TEST_F() 476 const FilePath cr_path(download_util::GetCrDownloadPath(new_path)); in TEST_F() 531 const FilePath cr_path(download_util::GetCrDownloadPath(new_path)); in TEST_F() 542 int uniquifier = download_util::GetUniquePathNumber(new_path); in TEST_F() 545 download_util::AppendNumberToPath(&unique_new_path, uniquifier); in TEST_F()
|
D | download_file_manager.cc | 83 NewRunnableFunction(&download_util::CancelDownloadRequest, in CreateDownloadFile() 166 NewRunnableFunction(&download_util::CancelDownloadRequest, in StartDownload() 359 uniquifier = download_util::GetUniquePathNumber(new_path); in RenameCompletingDownloadFile() 361 download_util::AppendNumberToPath(&new_path, uniquifier); in RenameCompletingDownloadFile()
|
D | drag_download_file.cc | 119 download_util::RecordDownloadCount( in InitiateDownload() 120 download_util::INITIATED_BY_DRAG_N_DROP_COUNT); in InitiateDownload()
|
D | download_extensions.h | 13 namespace download_util {
|
D | download_manager.cc | 285 download_util::GenerateFileNameFromInfo(info, &generated_name); in CheckDownloadUrlDone() 320 info->is_dangerous_file = download_util::IsDangerous( in CheckDownloadUrlDone() 388 info->path_uniquifier = download_util::GetUniquePathNumberWithCrDownload( in CheckIfSuggestedPathExists() 393 download_util::AppendNumberToPath(&(info->suggested_path), in CheckIfSuggestedPathExists() 414 file_util::WriteFile(download_util::GetCrDownloadPath( in CheckIfSuggestedPathExists() 509 download_path = download_util::GetCrDownloadPath(info->path); in AttachDownloadItem() 723 NewRunnableFunction(&download_util::CancelDownloadRequest, in DownloadCancelledInternal() 910 NewRunnableFunction(&download_util::DownloadUrl, in DownloadUrlToFile()
|
D | download_status_updater.cc | 32 download_util::UpdateAppIconDownloadProgress( in Update()
|
D | download_file.cc | 39 NewRunnableFunction(&download_util::CancelDownloadRequest, in CancelDownloadRequest()
|
D | download_util.h | 43 namespace download_util {
|
D | download_extensions.cc | 14 namespace download_util { namespace
|
/external/chromium/chrome/browser/ui/views/download/ |
D | download_item_view.cc | 129 progress_angle_(download_util::kStartAngleDegrees), in DownloadItemView() 231 if (download_util::kSmallProgressIconSize > box_height_) in DownloadItemView() 232 box_y_ = (download_util::kSmallProgressIconSize - box_height_) / 2; in DownloadItemView() 348 download_util::kUnknownIncrementDegrees) % in UpdateDownloadProgress() 349 download_util::kMaxDegrees; in UpdateDownloadProgress() 357 TimeDelta::FromMilliseconds(download_util::kProgressRateMs), this, in StartDownloadProgress() 476 height = std::max<int>(height, download_util::kSmallProgressIconSize); in GetPreferredSize() 492 width += download_util::kSmallProgressIconSize; in GetPreferredSize() 546 download_util::DragDownload(download_, icon, in OnMouseDragged() 764 download_util::kSmallProgressIconSize, kTextWidth); in OnPaint() [all …]
|
/external/chromium/chrome/browser/ui/gtk/download/ |
D | download_item_gtk.cc | 59 const int kMinDownloadItemWidth = download_util::kSmallProgressIconSize; 69 const int kBodyWidth = kTextWidth + 50 + download_util::kSmallProgressIconSize; 172 progress_angle_(download_util::kStartAngleDegrees), in DownloadItemGtk() 224 download_util::kSmallProgressIconSize, in DownloadItemGtk() 225 download_util::kSmallProgressIconSize); in DownloadItemGtk() 501 download_util::kUnknownIncrementDegrees) % in UpdateDownloadProgress() 502 download_util::kMaxDegrees; in UpdateDownloadProgress() 510 base::TimeDelta::FromMilliseconds(download_util::kProgressRateMs), this, in StartDownloadProgress() 865 download_util::PaintDownloadInterrupted(&canvas, in OnProgressAreaExpose() 868 download_util::SMALL); in OnProgressAreaExpose() [all …]
|
/external/chromium/chrome/browser/ui/download/ |
D | download_tab_helper.cc | 29 download_util::RecordDownloadCount( in OnSavePage() 30 download_util::INITIATED_BY_SAVE_PACKAGE_FAILURE_COUNT); in OnSavePage()
|
/external/chromium/chrome/browser/renderer_host/ |
D | download_throttling_resource_handler.cc | 32 download_util::RecordDownloadCount( in DownloadThrottlingResourceHandler() 33 download_util::INITIATED_BY_NAVIGATION_COUNT); in DownloadThrottlingResourceHandler() 47 NewRunnableFunction(&download_util::NotifyDownloadInitiated, in DownloadThrottlingResourceHandler()
|
D | download_resource_handler.cc | 47 download_util::RecordDownloadCount(download_util::UNTHROTTLED_COUNT); in DownloadResourceHandler()
|
/external/chromium/chrome/browser/ui/cocoa/download/ |
D | download_item_cell.mm | 11 #include "chrome/browser/download/download_util.h" 39 kImageWidth + download_util::kSmallProgressIconOffset; 590 int x = imagePosition.x - download_util::kSmallProgressIconOffset; 591 int y = imagePosition.y - download_util::kSmallProgressIconOffset; 594 download_util::kSmallProgressIconSize, 595 download_util::kSmallProgressIconSize); 602 download_util::PaintDownloadComplete(&canvas, 605 download_util::SMALL); 607 download_util::PaintDownloadInterrupted(&canvas, 610 download_util::SMALL); [all …]
|
D | download_util_mac_unittest.mm | 42 // Add a test file to the pasteboard via the download_util method. 43 download_util::AddFileToPasteboard(pasteboard(), testPath);
|
D | download_util_mac.h | 15 namespace download_util {
|
D | download_util_mac.mm | 16 namespace download_util { 80 } // namespace download_util
|
D | download_item_mac.mm | 56 download_util::NotifySystemOfDownloadComplete(download->full_path());
|
/external/chromium/chrome/browser/ui/webui/ |
D | downloads_dom_handler.cc | 110 results_value.Append(download_util::CreateDownloadItemValue(download, id)); in OnDownloadUpdated() 164 download_util::DragDownload(file, icon, view); in HandleDrag() 217 results_value.Append(download_util::CreateDownloadItemValue(*it, index)); in SendCurrentDownloads()
|
D | active_downloads_ui.cc | 337 results.Append(download_util::CreateDownloadItemValue(downloads_[i], i)); in SendDownloads() 363 download_util::CreateDownloadItemValue(item, id)); in OnDownloadUpdated()
|
/external/chromium/chrome/browser/web_applications/ |
D | web_app.cc | 356 int unique_number = download_util::GetUniquePathNumber(shortcut_file); in CreateShortcut() 361 download_util::AppendNumberToPath(&shortcut_file, unique_number); in CreateShortcut()
|