Searched refs:download_util (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium/chrome/browser/ui/cocoa/download/
H A Ddownload_util_mac.h15 namespace download_util { namespace
23 } // namespace download_util
/external/chromium/chrome/browser/download/
H A Ddownload_extensions.h13 namespace download_util { namespace
34 } // namespace download_util
H A Ddownload_util_unittest.cc5 #include "chrome/browser/download/download_util.h"
456 download_util::GenerateFileName(GURL(kGenerateFileNameTestCases[i].url),
467 download_util::GenerateFileName(GURL(kGenerateFileNameTestCases[i].url),
479 download_util::GenerateFileName(GURL("http://www.example.com/images?id=3"),
489 download_util::GenerateFileName(GURL("http://www.example.com/images?id=3"),
576 download_util::GenerateSafeFileName(kSafeFilenameCases[i].mime_type, &path);
H A Ddownload_status_updater.cc9 #include "chrome/browser/download/download_util.h"
32 download_util::UpdateAppIconDownloadProgress(
H A Ddownload_prefs.cc13 #include "chrome/browser/download/download_util.h"
37 if (!extensions[i].empty() && download_util::IsFileSafe(path))
56 download_util::GetDefaultDownloadDirectory();
73 if (download_util::DownloadPathIsDangerous(current_download_dir)) {
H A Ddownload_file.cc12 #include "chrome/browser/download/download_util.h"
39 NewRunnableFunction(&download_util::CancelDownloadRequest,
H A Ddownload_item.cc21 #include "chrome/browser/download/download_util.h"
271 download_util::OpenChromeExtension(download_manager_->profile(),
345 download_util::RecordDownloadCount(download_util::CANCELLED_COUNT);
371 download_util::RecordDownloadCount(download_util::COMPLETED_COUNT);
375 download_util::OpenChromeExtension(download_manager_->profile(),
604 download_util::AppendNumberToPath(&name, path_uniquifier_);
H A Ddrag_download_file.cc11 #include "chrome/browser/download/download_util.h"
119 download_util::RecordDownloadCount(
120 download_util::INITIATED_BY_DRAG_N_DROP_COUNT);
H A Ddownload_file_manager.cc14 #include "chrome/browser/download/download_util.h"
83 NewRunnableFunction(&download_util::CancelDownloadRequest,
166 NewRunnableFunction(&download_util::CancelDownloadRequest,
359 uniquifier = download_util::GetUniquePathNumber(new_path);
361 download_util::AppendNumberToPath(&new_path, uniquifier);
H A Ddownload_manager_unittest.cc19 #include "chrome/browser/download/download_util.h"
368 FilePath crdownload(download_util::GetCrDownloadPath(new_path));
410 const FilePath cr_path(download_util::GetCrDownloadPath(new_path));
476 const FilePath cr_path(download_util::GetCrDownloadPath(new_path));
531 const FilePath cr_path(download_util::GetCrDownloadPath(new_path));
542 int uniquifier = download_util::GetUniquePathNumber(new_path);
545 download_util::AppendNumberToPath(&unique_new_path, uniquifier);
H A Ddownload_extensions.cc14 namespace download_util { namespace
255 } // namespace download_util
H A Ddownload_util.h43 namespace download_util { namespace
272 } // namespace download_util
H A Ddownload_manager.cc26 #include "chrome/browser/download/download_util.h"
285 download_util::GenerateFileNameFromInfo(info, &generated_name);
320 info->is_dangerous_file = download_util::IsDangerous(
388 info->path_uniquifier = download_util::GetUniquePathNumberWithCrDownload(
393 download_util::AppendNumberToPath(&(info->suggested_path),
414 file_util::WriteFile(download_util::GetCrDownloadPath(
509 download_path = download_util::GetCrDownloadPath(info->path);
723 NewRunnableFunction(&download_util::CancelDownloadRequest,
910 NewRunnableFunction(&download_util::DownloadUrl,
H A Dbase_file.cc14 #include "chrome/browser/download/download_util.h"
58 download_util::CreateTemporaryFileForDownload(&full_path_))
/external/chromium/chrome/browser/ui/download/
H A Ddownload_tab_helper.cc8 #include "chrome/browser/download/download_util.h"
29 download_util::RecordDownloadCount(
30 download_util::INITIATED_BY_SAVE_PACKAGE_FAILURE_COUNT);
/external/chromium/chrome/browser/ui/views/download/
H A Ddownload_item_view.cc19 #include "chrome/browser/download/download_util.h"
129 progress_angle_(download_util::kStartAngleDegrees),
231 if (download_util::kSmallProgressIconSize > box_height_)
232 box_y_ = (download_util::kSmallProgressIconSize - box_height_) / 2;
348 download_util::kUnknownIncrementDegrees) %
349 download_util::kMaxDegrees;
357 TimeDelta::FromMilliseconds(download_util::kProgressRateMs), this,
476 height = std::max<int>(height, download_util::kSmallProgressIconSize);
492 width += download_util::kSmallProgressIconSize;
546 download_util
[all...]
/external/chromium/chrome/browser/renderer_host/
H A Ddownload_throttling_resource_handler.cc8 #include "chrome/browser/download/download_util.h"
32 download_util::RecordDownloadCount(
33 download_util::INITIATED_BY_NAVIGATION_COUNT);
47 NewRunnableFunction(&download_util::NotifyDownloadInitiated,
H A Ddownload_resource_handler.cc15 #include "chrome/browser/download/download_util.h"
47 download_util::RecordDownloadCount(download_util::UNTHROTTLED_COUNT);
/external/chromium/chrome/browser/ui/gtk/download/
H A Ddownload_item_gtk.cc18 #include "chrome/browser/download/download_util.h"
59 const int kMinDownloadItemWidth = download_util::kSmallProgressIconSize;
69 const int kBodyWidth = kTextWidth + 50 + download_util::kSmallProgressIconSize;
172 progress_angle_(download_util::kStartAngleDegrees),
224 download_util::kSmallProgressIconSize,
225 download_util::kSmallProgressIconSize);
501 download_util::kUnknownIncrementDegrees) %
502 download_util::kMaxDegrees;
510 base::TimeDelta::FromMilliseconds(download_util::kProgressRateMs), this,
865 download_util
[all...]
H A Ddownload_shelf_gtk.cc11 #include "chrome/browser/download/download_util.h"
33 const int kDownloadItemHeight = download_util::kSmallProgressIconSize;
/external/chromium/chrome/browser/ui/webui/
H A Ddownloads_dom_handler.cc20 #include "chrome/browser/download/download_util.h"
110 results_value.Append(download_util::CreateDownloadItemValue(download, id));
164 download_util::DragDownload(file, icon, view);
217 results_value.Append(download_util::CreateDownloadItemValue(*it, index));
H A Dactive_downloads_ui.cc28 #include "chrome/browser/download/download_util.h"
337 results.Append(download_util::CreateDownloadItemValue(downloads_[i], i));
363 download_util::CreateDownloadItemValue(item, id));
/external/chromium/chrome/browser/web_applications/
H A Dweb_app.cc20 #include "chrome/browser/download/download_util.h"
356 int unique_number = download_util::GetUniquePathNumber(shortcut_file);
361 download_util::AppendNumberToPath(&shortcut_file, unique_number);
/external/chromium/chrome/browser/ui/gtk/
H A Dtab_contents_drag_source.cc12 #include "chrome/browser/download/download_util.h"
298 download_util::GenerateFileName(download_url_,
/external/chromium/chrome/browser/ui/views/tab_contents/
H A Dtab_contents_drag_win.cc18 #include "chrome/browser/download/download_util.h"
202 download_util::GenerateFileName(download_url,

Completed in 813 milliseconds

12