Index: chrome/browser/download/notification/download_notification_item.cc |
diff --git a/chrome/browser/download/notification/download_notification_item.cc b/chrome/browser/download/notification/download_notification_item.cc |
index 2e9438b5600690ed144436fab192f9cad4c56239..921fc8a7dcc76c732d788a75b8ae3f7290d753eb 100644 |
--- a/chrome/browser/download/notification/download_notification_item.cc |
+++ b/chrome/browser/download/notification/download_notification_item.cc |
@@ -119,6 +119,11 @@ void DownloadNotificationItem::OnNotificationClick() { |
} else { |
item_->SetOpenWhenComplete(!item_->GetOpenWhenComplete()); // Toggle |
asanka
2015/05/14 22:07:42
Does this also cause the notification to close aut
yoshiki
2015/05/18 16:51:59
No, the notification doesn't close. When the downl
|
} |
+#if defined(FULL_SAFE_BROWSING) |
+ } else if (item_->IsDangerous()) { |
asanka
2015/05/14 22:07:42
At this point, I think it would be readable to bre
yoshiki
2015/05/18 16:51:59
Thanks, I refined the code of OnNotificationClick
|
+ DownloadCommands(item_).ExecuteCommand( |
+ DownloadCommands::LEARN_MORE_SCANNING); |
+#endif |
} else if (item_->GetState() == content::DownloadItem::INTERRUPTED || |
item_->GetState() == content::DownloadItem::CANCELLED) { |
GetBrowser()->OpenURL(content::OpenURLParams( |