Index: chrome/browser/history/download_database.cc |
diff --git a/chrome/browser/history/download_database.cc b/chrome/browser/history/download_database.cc |
index 9461e4523f8689253c107e0482f42d289305f7d7..9dee6edb941b5d3c41a8d5f2c31b15f081342e1a 100644 |
--- a/chrome/browser/history/download_database.cc |
+++ b/chrome/browser/history/download_database.cc |
@@ -95,6 +95,7 @@ int DownloadDatabase::StateToInt(DownloadItem::DownloadState state) { |
case DownloadItem::COMPLETE: return DownloadDatabase::kStateComplete; |
case DownloadItem::CANCELLED: return DownloadDatabase::kStateCancelled; |
case DownloadItem::INTERRUPTED: return DownloadDatabase::kStateInterrupted; |
+ case DownloadItem::REMOVED: |
benjhayden
2014/11/13 18:01:59
How do you ensure that this isn't reached?
|
case DownloadItem::MAX_DOWNLOAD_STATE: |
NOTREACHED(); |
return DownloadDatabase::kStateInvalid; |