Home
last modified time | relevance | path

Searched refs:AddDownload (Results 1 – 10 of 10) sorted by relevance

/external/chromium/chrome/browser/history/
Dhistory_unittest.cc186 int64 AddDownload(int32 state, const Time& time) { in AddDownload() function in history::HistoryTest
315 EXPECT_NE(0, AddDownload(DownloadItem::COMPLETE, Time())); in TEST_F()
317 EXPECT_NE(0, AddDownload(DownloadItem::COMPLETE, now - one_day)); in TEST_F()
318 EXPECT_NE(0, AddDownload(DownloadItem::COMPLETE, now)); in TEST_F()
319 EXPECT_NE(0, AddDownload(DownloadItem::COMPLETE, now + one_day)); in TEST_F()
321 EXPECT_NE(0, AddDownload(DownloadItem::COMPLETE, month_ago)); in TEST_F()
322 EXPECT_NE(0, in_progress = AddDownload(DownloadItem::IN_PROGRESS, month_ago)); in TEST_F()
323 EXPECT_NE(0, AddDownload(DownloadItem::CANCELLED, month_ago)); in TEST_F()
324 EXPECT_NE(0, AddDownload(DownloadItem::INTERRUPTED, month_ago)); in TEST_F()
325 EXPECT_NE(0, removing = AddDownload(DownloadItem::REMOVING, month_ago)); in TEST_F()
[all …]
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_shelf_mac.h29 virtual void AddDownload(BaseDownloadItemModel* download_model);
Ddownload_shelf_mac.mm18 void DownloadShelfMac::AddDownload(BaseDownloadItemModel* download_model) { function
/external/chromium/chrome/browser/ui/webui/
Dactive_downloads_ui.cc121 void AddDownload(DownloadItem* item);
314 AddDownload(downloads[i]); in UpdateDownloadList()
319 void ActiveDownloadsHandler::AddDownload(DownloadItem* item) { in AddDownload() function in __anonb307b7590111::ActiveDownloadsHandler
/external/chromium/chrome/browser/download/
Ddownload_shelf.h25 virtual void AddDownload(BaseDownloadItemModel* download_model) = 0;
/external/chromium/chrome/browser/ui/gtk/download/
Ddownload_shelf_gtk.h44 virtual void AddDownload(BaseDownloadItemModel* download_model);
Ddownload_shelf_gtk.cc170 void DownloadShelfGtk::AddDownload(BaseDownloadItemModel* download_model_) { in AddDownload() function in DownloadShelfGtk
/external/chromium/chrome/browser/ui/views/download/
Ddownload_shelf_view.h68 virtual void AddDownload(BaseDownloadItemModel* download_model);
Ddownload_shelf_view.cc146 void DownloadShelfView::AddDownload(BaseDownloadItemModel* download_model) { in AddDownload() function in DownloadShelfView
/external/chromium/chrome/browser/ui/
Dbrowser.cc3182 window()->GetDownloadShelf()->AddDownload(new DownloadItemModel(download)); in OnStartDownload()