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

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

Issue 6905049: Detect removed files and reflect the state in chrome://downloads and the download shelf (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 8 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 307ae63f8627c360439fab82cde4262c1c1dbd8f..bfa68c17f7cafc3b91c99131f02f410d151e0fbe 100644
--- a/chrome/browser/ui/webui/downloads_ui.cc
+++ b/chrome/browser/ui/webui/downloads_ui.cc
@@ -74,6 +74,8 @@ void DownloadsUIHTMLSource::StartDataRequest(const std::string& path,
// Status.
localized_strings.SetString("status_cancelled",
l10n_util::GetStringUTF16(IDS_DOWNLOAD_TAB_CANCELED));
+ localized_strings.SetString("status_removed",
+ l10n_util::GetStringUTF16(IDS_DOWNLOAD_FILE_REMOVED));
localized_strings.SetString("status_paused",
l10n_util::GetStringUTF16(IDS_DOWNLOAD_PROGRESS_PAUSED));
localized_strings.SetString("status_interrupted",
« chrome/browser/download/download_util.cc ('K') | « chrome/browser/resources/downloads.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698