Searched refs:safety_state_to_string (Results 1 – 1 of 1) sorted by relevance
242 std::map<DownloadItem::SafetyState, std::string> safety_state_to_string; in GetDictionaryFromDownloadItem() local243 safety_state_to_string[DownloadItem::SAFE] = std::string("SAFE"); in GetDictionaryFromDownloadItem()244 safety_state_to_string[DownloadItem::DANGEROUS] = std::string("DANGEROUS"); in GetDictionaryFromDownloadItem()245 safety_state_to_string[DownloadItem::DANGEROUS_BUT_VALIDATED] = in GetDictionaryFromDownloadItem()265 safety_state_to_string[download->safety_state()]); in GetDictionaryFromDownloadItem()