Home
last modified time | relevance | path

Searched refs:download_item (Results 1 – 15 of 15) sorted by relevance

/external/chromium/chrome/browser/download/
Ddownload_history.cc44 DownloadItem* download_item, in AddEntry() argument
57 if (download_item->is_otr() || download_item->is_extension_install() || in AddEntry()
58 download_item->is_temporary() || !hs) { in AddEntry()
68 void DownloadHistory::UpdateEntry(DownloadItem* download_item) { in UpdateEntry() argument
71 if (download_item->db_handle() <= kUninitializedHandle) in UpdateEntry()
79 hs->UpdateDownload(download_item->received_bytes(), in UpdateEntry()
80 download_item->state(), in UpdateEntry()
81 download_item->db_handle()); in UpdateEntry()
84 void DownloadHistory::UpdateDownloadPath(DownloadItem* download_item, in UpdateDownloadPath() argument
87 if (download_item->db_handle() <= kUninitializedHandle) in UpdateDownloadPath()
[all …]
Ddownload_history.h35 DownloadItem* download_item,
39 void UpdateEntry(DownloadItem* download_item);
42 void UpdateDownloadPath(DownloadItem* download_item,
46 void RemoveEntry(DownloadItem* download_item);
Ddownload_util.cc314 const DownloadItem& download_item) { in OpenChromeExtension() argument
316 DCHECK(download_item.is_extension_install()); in OpenChromeExtension()
321 GURL nonconst_download_url = download_item.url(); in OpenChromeExtension()
330 if (UserScript::IsURLUserScript(download_item.url(), in OpenChromeExtension()
331 download_item.mime_type())) { in OpenChromeExtension()
332 installer->InstallUserScript(download_item.full_path(), in OpenChromeExtension()
333 download_item.url()); in OpenChromeExtension()
338 download_item.url(), download_item.referrer_url()); in OpenChromeExtension()
339 installer->set_original_mime_type(download_item.original_mime_type()); in OpenChromeExtension()
341 installer->set_original_url(download_item.url()); in OpenChromeExtension()
[all …]
Ddownload_manager.cc198 DownloadItem* download_item = it->second; in SearchDownloads() local
200 if (download_item->is_temporary() || download_item->is_extension_install()) in SearchDownloads()
206 if (profile_->IsOffTheRecord() != download_item->is_otr()) in SearchDownloads()
209 if (download_item->MatchesQuery(query_lower)) in SearchDownloads()
210 result->push_back(download_item); in SearchDownloads()
885 void DownloadManager::SavePageAsDownloadStarted(DownloadItem* download_item) { in SavePageAsDownloadStarted() argument
887 save_page_as_downloads_.insert(download_item); in SavePageAsDownloadStarted()
889 downloads_.insert(download_item); in SavePageAsDownloadStarted()
Ddownload_util.h81 const DownloadItem& download_item);
Ddownload_manager.h171 void SavePageAsDownloadStarted(DownloadItem* download_item);
/external/chromium/chrome/browser/ui/gtk/
Dcustom_drag.cc26 const DownloadItem* download_item) { in OnDragDataGetForDownloadItem() argument
27 GURL url = net::FilePathToFileURL(download_item->full_path()); in OnDragDataGetForDownloadItem()
29 UTF8ToUTF16(download_item->GetFileNameToReportUser().value()), in OnDragDataGetForDownloadItem()
/external/chromium/chrome/browser/ui/gtk/download/
Ddownload_shelf_gtk.cc261 void DownloadShelfGtk::RemoveDownloadItem(DownloadItemGtk* download_item) { in RemoveDownloadItem() argument
262 DCHECK(download_item); in RemoveDownloadItem()
264 find(download_items_.begin(), download_items_.end(), download_item); in RemoveDownloadItem()
267 delete download_item; in RemoveDownloadItem()
Ddownload_shelf_gtk.h68 void RemoveDownloadItem(DownloadItemGtk* download_item);
Ddownload_item_gtk.cc92 DownloadItemGtk* download_item) in DownloadShelfContextMenuGtk() argument
94 download_item_(download_item) { in DownloadShelfContextMenuGtk()
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_util_mac.mm10 #include "chrome/browser/download/download_item.h"
Ddownload_item_mac.mm9 #include "chrome/browser/download/download_item.h"
Ddownload_item_controller.mm13 #include "chrome/browser/download/download_item.h"
Ddownload_shelf_controller.mm9 #include "chrome/browser/download/download_item.h"
Ddownload_item_cell.mm8 #include "chrome/browser/download/download_item.h"