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

Unified Diff: chrome/browser/history/download_database.cc

Issue 10704026: Reland DownloadItem::Observer::OnDownloadDestroyed() replaces DownloadItem::REMOVING (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: lint Created 8 years, 4 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/history/download_database.cc
diff --git a/chrome/browser/history/download_database.cc b/chrome/browser/history/download_database.cc
index c0769df9291cc34be8742e775dabf5ba8f5c09b5..c9881156db31829652ffccc9ffd972e32777b381 100644
--- a/chrome/browser/history/download_database.cc
+++ b/chrome/browser/history/download_database.cc
@@ -56,7 +56,6 @@ int StateToInt(DownloadItem::DownloadState state) {
case DownloadItem::IN_PROGRESS: return kStateInProgress;
case DownloadItem::COMPLETE: return kStateComplete;
case DownloadItem::CANCELLED: return kStateCancelled;
- case DownloadItem::REMOVING: return kStateInvalid;
case DownloadItem::INTERRUPTED: return kStateInterrupted;
case DownloadItem::MAX_DOWNLOAD_STATE: return kStateInvalid;
default: return kStateInvalid;

Powered by Google App Engine
This is Rietveld 408576698