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

Unified Diff: chrome/browser/resources/downloads.html

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/resources/downloads.html
diff --git a/chrome/browser/resources/downloads.html b/chrome/browser/resources/downloads.html
index 97952fb100f85921057740fafdb1cd68970fc648..58d76774720c332378b563088ff75f2e92650634 100644
--- a/chrome/browser/resources/downloads.html
+++ b/chrome/browser/resources/downloads.html
@@ -463,6 +463,7 @@ Download.States = {
IN_PROGRESS : "IN_PROGRESS",
CANCELLED : "CANCELLED",
COMPLETE : "COMPLETE",
+ REMOVED : "REMOVED",
PAUSED : "PAUSED",
DANGEROUS : "DANGEROUS",
INTERRUPTED : "INTERRUPTED",
@@ -617,6 +618,8 @@ Download.prototype.getStatusText_ = function() {
return this.progressStatusText_;
case Download.States.CANCELLED:
return localStrings.getString('status_cancelled');
+ case Download.States.REMOVED:
+ return localStrings.getString('status_removed');
case Download.States.PAUSED:
return localStrings.getString('status_paused');
case Download.States.DANGEROUS:

Powered by Google App Engine
This is Rietveld 408576698