/external/chromium_org/chrome/browser/download/ |
download_extensions.cc | 63 // Some files are dangerous on all platforms. 66 { "swf", DANGEROUS }, 67 { "spl", DANGEROUS }, 82 { "cfg", DANGEROUS }, 89 { "dll", DANGEROUS }, 90 { "drv", DANGEROUS }, 93 { "grp", DANGEROUS }, 98 { "ini", DANGEROUS }, 104 { "local", DANGEROUS }, 109 { "manifest", DANGEROUS }, [all...] |
download_extensions.h | 17 DANGEROUS
|
chrome_download_manager_delegate.cc | 159 // protection, mark it as potentially dangerous content until we are done 646 // We only mark the content as being dangerous if the download's safety state 647 // has not been set to DANGEROUS yet. We don't want to show two warnings. 657 case DownloadProtectionService::DANGEROUS:
|
download_target_determiner.cc | 499 // where the download has already been deemed dangerous, or where the user is 509 // if there are prior visits and is considered dangerous otherwise. 585 // if one is available. A resumed download shouldn't cause a non-dangerous 586 // download to be considered dangerous upon resumption. Therefore the 597 // Dangerous downloads receive a random intermediate name that looks like: 728 // considered dangerous. 736 // Extensions that are not from the gallery are considered dangerous. 763 case download_util::DANGEROUS:
|
/external/chromium/chrome/browser/ui/views/download/ |
download_item_view.h | 111 DANGEROUS 152 // Whether we are in the dangerous mode. 153 bool IsDangerousMode() { return body_state_ == DANGEROUS; } 155 // Reverts from dangerous mode to normal download mode. 162 // Sizes the dangerous download label to a minimum width available using 2 177 // dangerous download warning message (if any). 189 // The warning icon showns for dangerous downloads. 255 // Dangerous mode buttons. 259 // Dangerous mode label. 262 // Whether the dangerous mode label has been sized yet [all...] |
download_item_view.cc | 51 // dangerous download message. 58 // The space between the Save and Discard buttons when prompting for a dangerous 62 // The space on the left and right side of the dangerous download label. 251 if (download->safety_state() == DownloadItem::DANGEROUS) { 253 body_state_ = DANGEROUS; 254 drop_down_state_ = DANGEROUS; 292 // The dangerous download label text and icon are different 301 // The download file has dangerous file type (e.g.: an executable). 378 if (body_state_ == DANGEROUS && 449 // In dangerous mode we have to layout our buttons [all...] |
download_shelf_view.cc | 401 download->safety_state() != DownloadItem::DANGEROUS) {
|
/external/chromium_org/chrome/browser/safe_browsing/ |
download_protection_service.h | 45 DANGEROUS,
|
download_feedback_service_unittest.cc | 181 EXPECT_FALSE(WillStorePings(DownloadProtectionService::DANGEROUS, ok_size)); 187 EXPECT_FALSE(WillStorePings(DownloadProtectionService::DANGEROUS, bad_size));
|
download_protection_service_unittest.cc | 499 // If the response is dangerous the result should also be marked as dangerous. 500 response.set_verdict(ClientDownloadResponse::DANGEROUS); 514 EXPECT_TRUE(IsResult(DownloadProtectionService::DANGEROUS)); 587 response.set_verdict(ClientDownloadResponse::DANGEROUS); 624 EXPECT_TRUE(IsResult(DownloadProtectionService::DANGEROUS)); 699 // If the response is dangerous the result should also be marked as 700 // dangerous. 701 response.set_verdict(ClientDownloadResponse::DANGEROUS); 713 EXPECT_TRUE(IsResult(DownloadProtectionService::DANGEROUS)); [all...] |
download_protection_service.cc | 175 DownloadProtectionService::DANGEROUS : 416 // SAFE even if the server says it's dangerous to download this file. 420 } else if (response.verdict() == ClientDownloadResponse::DANGEROUS) { 422 result = DANGEROUS; 841 // want to show the dangerous file type warning if the file is possibly 842 // dangerous which means we have to always return false here [all...] |
/external/chromium/chrome/browser/download/ |
download_item.cc | 65 case DownloadItem::DANGEROUS: 66 return "DANGEROUS"; 96 DownloadItem::DANGEROUS : DownloadItem::SAFE; 100 // danger type is set to DANGEROUS_URL since the risk of dangerous URL 101 // overweights that of dangerous file type. 105 // dangerous URL overweights dangerous file. We check dangerous URL first. 497 DCHECK_NE(DANGEROUS, safety_state());
|
download_item.h | 61 DANGEROUS, 62 DANGEROUS_BUT_VALIDATED // Dangerous but the user confirmed the download. 70 // A dangerous file to the system (e.g.: an executable or extension from 142 // Called when the user has validated the download of a dangerous file. 289 // but does not for dangerous downloads until the name is verified. 372 // Whether the download is considered potentially safe or dangerous 373 // (executable files are typically considered dangerous). 384 // Dangerous downloads or ongoing downloads are given temporary names until
|
download_manager.cc | 83 // Go through all downloads in downloads_. Dangerous ones we need to 93 if (download->safety_state() == DownloadItem::DANGEROUS && 110 // At this point, all dangerous downloads have had their files removed 173 (item->safety_state() != DownloadItem::DANGEROUS)) 358 // If the download is deemed dangerous, we'll use a temporary name for it. 501 // NOTE: The |Rename| below will be a no-op for dangerous files, as we're 607 // If the download is dangerous, but not yet validated, it's not ready for 609 if (download->safety_state() == DownloadItem::DANGEROUS) 637 DCHECK_NE(DownloadItem::DANGEROUS, download->safety_state()); [all...] |
download_util.cc | 532 // Load a language dependent height so that the dangerous download confirmation 630 if (download->safety_state() == DownloadItem::DANGEROUS) { 631 file_value->SetString("state", "DANGEROUS"); 664 if (download->safety_state() == DownloadItem::DANGEROUS) { 665 file_value->SetString("state", "DANGEROUS"); 885 if (danger_level == Dangerous) [all...] |
/external/chromium/chrome/browser/ui/webui/ |
downloads_dom_handler.cc | 132 } else if (download->safety_state() == DownloadItem::DANGEROUS) { 133 // We need to be notified when the user validates the dangerous download.
|
active_downloads_ui.cc | 320 // Observe in progress and dangerous downloads. 322 item->safety_state() == DownloadItem::DANGEROUS) {
|
/external/chromium/chrome/browser/ui/gtk/download/ |
download_shelf_gtk.cc | 211 download->safety_state() != DownloadItem::DANGEROUS) {
|
download_item_gtk.cc | 46 // Padding on left and right of items in dangerous download prompt. 375 // Turns out the file path is "Unconfirmed %d.crdownload" for dangerous 494 return get_download()->safety_state() == DownloadItem::DANGEROUS; 607 // The dangerous download label text is different for different cases. 613 // It's a dangerous file type (e.g.: an executable). [all...] |
/external/chromium_org/chrome/browser/resources/downloads/ |
downloads.js | 355 this.danger_ = createElementWithClassName('div', 'show-dangerous'); 376 // Buttons for the dangerous but not malicious case. 400 DANGEROUS: 'DANGEROUS', 405 * Explains why a download is in DANGEROUS state. 459 if (this.state_ == Download.States.DANGEROUS) { 567 * danger level of a file. Dangerous & malicious files are treated differently. 659 case Download.States.DANGEROUS: 695 * Tells the backend that the user chose to save a dangerous file. 705 * Tells the backend that the user chose to discard a dangerous file [all...] |
/external/chromium/chrome/browser/automation/ |
automation_provider.cc | 244 safety_state_to_string[DownloadItem::DANGEROUS] = std::string("DANGEROUS"); [all...] |
/external/chromium/chrome/browser/ui/webui/chromeos/ |
imageburner_ui.cc | 262 if (download->safety_state() == DownloadItem::DANGEROUS)
|