Home
last modified time | relevance | path

Searched refs:safety_state (Results 1 – 16 of 16) sorted by relevance

/external/chromium/chrome/browser/download/
Ddownload_item.h265 SafetyState safety_state() const { return safety_state_; } in safety_state() function
266 void set_safety_state(SafetyState safety_state) { in set_safety_state() argument
267 safety_state_ = safety_state; in set_safety_state()
Ddownload_manager_unittest.cc101 DownloadItem::SafetyState safety_state = in VerifySafetyState() local
102 download_manager_->GetDownloadItem(id)->safety_state(); in VerifySafetyState()
104 safety_state != DownloadItem::SAFE : safety_state == DownloadItem::SAFE; in VerifySafetyState()
Ddownload_manager.cc93 if (download->safety_state() == DownloadItem::DANGEROUS && in Shutdown()
173 (item->safety_state() != DownloadItem::DANGEROUS)) in GetCurrentDownloads()
609 if (download->safety_state() == DownloadItem::DANGEROUS) in IsDownloadReadyForCompletion()
637 DCHECK_NE(DownloadItem::DANGEROUS, download->safety_state()); in MaybeCompleteDownload()
676 if (item->safety_state() == DownloadItem::SAFE) { in OnDownloadRenamedToFinalName()
997 DCHECK_EQ(DownloadItem::DANGEROUS, download->safety_state()); in DangerousDownloadValidated()
Ddownload_item.cc497 DCHECK_NE(DANGEROUS, safety_state()); in OnDownloadCompleting()
505 id(), GetTargetFilePath(), safety_state() == SAFE)); in OnDownloadCompleting()
669 DebugSafetyStateString(safety_state()), in DebugString()
Ddownload_util.cc630 if (download->safety_state() == DownloadItem::DANGEROUS) { in CreateDownloadItemValue()
664 if (download->safety_state() == DownloadItem::DANGEROUS) { in CreateDownloadItemValue()
/external/chromium/chrome/browser/ui/views/download/
Ddownload_item_view.cc251 if (download->safety_state() == DownloadItem::DANGEROUS) { in DownloadItemView()
379 download->safety_state() == DownloadItem::DANGEROUS_BUT_VALIDATED) { in OnDownloadUpdated()
685 if (download_->safety_state() == DownloadItem::DANGEROUS) { in GetAccessibleState()
1008 DCHECK(download_->safety_state() == DownloadItem::DANGEROUS_BUT_VALIDATED && in ClearDangerousMode()
1142 if (download_->safety_state() == DownloadItem::DANGEROUS) { in UpdateAccessibleName()
Ddownload_shelf_view.cc401 download->safety_state() != DownloadItem::DANGEROUS) { in Closed()
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_item_mac.mm32 download->safety_state() == DownloadItem::DANGEROUS_BUT_VALIDATED) {
Ddownload_item_controller.mm164 if (downloadModel->download()->safety_state() == DownloadItem::DANGEROUS) {
Ddownload_shelf_controller.mm390 download->safety_state() != DownloadItem::DANGEROUS) {
/external/chromium/chrome/browser/ui/webui/
Ddownloads_dom_handler.cc132 } else if (download->safety_state() == DownloadItem::DANGEROUS) { in ModelChanged()
Dactive_downloads_ui.cc322 item->safety_state() == DownloadItem::DANGEROUS) { in AddDownload()
/external/chromium/chrome/browser/ui/gtk/download/
Ddownload_shelf_gtk.cc211 download->safety_state() != DownloadItem::DANGEROUS) { in Closed()
Ddownload_item_gtk.cc363 download->safety_state() == DownloadItem::DANGEROUS_BUT_VALIDATED) { in OnDownloadUpdated()
494 return get_download()->safety_state() == DownloadItem::DANGEROUS; in IsDangerous()
/external/chromium/chrome/browser/ui/webui/chromeos/
Dimageburner_ui.cc262 if (download->safety_state() == DownloadItem::DANGEROUS) in OnDownloadOpened()
/external/chromium/chrome/browser/automation/
Dautomation_provider.cc265 safety_state_to_string[download->safety_state()]); in GetDictionaryFromDownloadItem()