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

Unified Diff: chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc

Issue 2314903003: Improve download recovery flow: (Closed)
Patch Set: address final nits Created 4 years, 3 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
« no previous file with comments | « chrome/browser/ui/webui/md_downloads/md_downloads_dom_handler_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc
diff --git a/chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc b/chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc
index 37724f0f99e1c9b55dfe899ae19352d2ff68570c..2bc366cf48ab2c77e71a456b6aea72b43cae9892 100644
--- a/chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc
+++ b/chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc
@@ -63,15 +63,14 @@ content::WebUIDataSource* CreateDownloadsUIHTMLSource(Profile* profile) {
source->AddLocalizedString("statusRemoved", IDS_DOWNLOAD_FILE_REMOVED);
// Dangerous file.
- source->AddLocalizedString("dangerFileDesc", IDS_PROMPT_DANGEROUS_DOWNLOAD);
- source->AddLocalizedString("dangerUrlDesc",
- IDS_PROMPT_MALICIOUS_DOWNLOAD_URL);
- source->AddLocalizedString("dangerContentDesc",
- IDS_PROMPT_MALICIOUS_DOWNLOAD_CONTENT);
+ source->AddLocalizedString("dangerFileDesc",
+ IDS_BLOCK_REASON_GENERIC_DOWNLOAD);
+ source->AddLocalizedString("dangerDownloadDesc",
+ IDS_BLOCK_REASON_DANGEROUS_DOWNLOAD);
source->AddLocalizedString("dangerUncommonDesc",
- IDS_PROMPT_UNCOMMON_DOWNLOAD_CONTENT);
+ IDS_BLOCK_REASON_UNCOMMON_DOWNLOAD);
source->AddLocalizedString("dangerSettingsDesc",
- IDS_PROMPT_DOWNLOAD_CHANGES_SETTINGS);
+ IDS_BLOCK_REASON_UNWANTED_DOWNLOAD);
source->AddLocalizedString("dangerSave", IDS_CONFIRM_DOWNLOAD);
source->AddLocalizedString("dangerRestore", IDS_CONFIRM_DOWNLOAD_RESTORE);
source->AddLocalizedString("dangerDiscard", IDS_DISCARD_DOWNLOAD);
« no previous file with comments | « chrome/browser/ui/webui/md_downloads/md_downloads_dom_handler_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698