Searched refs:safety_state (Results 1 – 16 of 16) sorted by relevance
265 SafetyState safety_state() const { return safety_state_; } in safety_state() function266 void set_safety_state(SafetyState safety_state) { in set_safety_state() argument267 safety_state_ = safety_state; in set_safety_state()
101 DownloadItem::SafetyState safety_state = in VerifySafetyState() local102 download_manager_->GetDownloadItem(id)->safety_state(); in VerifySafetyState()104 safety_state != DownloadItem::SAFE : safety_state == DownloadItem::SAFE; in VerifySafetyState()
93 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()
497 DCHECK_NE(DANGEROUS, safety_state()); in OnDownloadCompleting()505 id(), GetTargetFilePath(), safety_state() == SAFE)); in OnDownloadCompleting()669 DebugSafetyStateString(safety_state()), in DebugString()
630 if (download->safety_state() == DownloadItem::DANGEROUS) { in CreateDownloadItemValue()664 if (download->safety_state() == DownloadItem::DANGEROUS) { in CreateDownloadItemValue()
251 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()
401 download->safety_state() != DownloadItem::DANGEROUS) { in Closed()
32 download->safety_state() == DownloadItem::DANGEROUS_BUT_VALIDATED) {
164 if (downloadModel->download()->safety_state() == DownloadItem::DANGEROUS) {
390 download->safety_state() != DownloadItem::DANGEROUS) {
132 } else if (download->safety_state() == DownloadItem::DANGEROUS) { in ModelChanged()
322 item->safety_state() == DownloadItem::DANGEROUS) { in AddDownload()
211 download->safety_state() != DownloadItem::DANGEROUS) { in Closed()
363 download->safety_state() == DownloadItem::DANGEROUS_BUT_VALIDATED) { in OnDownloadUpdated()494 return get_download()->safety_state() == DownloadItem::DANGEROUS; in IsDangerous()
262 if (download->safety_state() == DownloadItem::DANGEROUS) in OnDownloadOpened()
265 safety_state_to_string[download->safety_state()]); in GetDictionaryFromDownloadItem()