Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3107)

Unified Diff: chrome/browser/ui/webui/downloads_ui.cc

Issue 9621007: Add new danger type for uncommon or unknown downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/downloads_ui.cc
diff --git a/chrome/browser/ui/webui/downloads_ui.cc b/chrome/browser/ui/webui/downloads_ui.cc
index ecf2f9ab55c015c3a6438589e8f5365254b95266..64cbe72a6245c5eedf455bc3b4daae5036db07cd 100644
--- a/chrome/browser/ui/webui/downloads_ui.cc
+++ b/chrome/browser/ui/webui/downloads_ui.cc
@@ -55,6 +55,8 @@ ChromeWebUIDataSource* CreateDownloadsUIHTMLSource() {
IDS_PROMPT_MALICIOUS_DOWNLOAD_URL);
source->AddLocalizedString("danger_content_desc",
IDS_PROMPT_MALICIOUS_DOWNLOAD_CONTENT);
+ source->AddLocalizedString("danger_uncommon_desc",
+ IDS_PROMPT_UNCOMMON_DOWNLOAD_CONTENT);
source->AddLocalizedString("danger_save", IDS_CONFIRM_DOWNLOAD);
source->AddLocalizedString("danger_discard", IDS_DISCARD_DOWNLOAD);
« no previous file with comments | « chrome/browser/ui/webui/chromeos/active_downloads_ui.cc ('k') | chrome/common/extensions/api/experimental.downloads.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698