Lines Matching defs:download_item
10 #include "chrome/browser/download/download_item.h"
44 DownloadItem* download_item,
57 if (download_item->is_otr() || download_item->is_extension_install() ||
58 download_item->is_temporary() || !hs) {
68 void DownloadHistory::UpdateEntry(DownloadItem* download_item) {
71 if (download_item->db_handle() <= kUninitializedHandle)
79 hs->UpdateDownload(download_item->received_bytes(),
80 download_item->state(),
81 download_item->db_handle());
84 void DownloadHistory::UpdateDownloadPath(DownloadItem* download_item,
87 if (download_item->db_handle() <= kUninitializedHandle)
93 hs->UpdateDownloadPath(new_path, download_item->db_handle());
96 void DownloadHistory::RemoveEntry(DownloadItem* download_item) {
98 if (download_item->db_handle() <= kUninitializedHandle)
104 hs->RemoveDownload(download_item->db_handle());