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

Unified Diff: chrome/browser/download/download_util.cc

Issue 10704026: Reland DownloadItem::Observer::OnDownloadDestroyed() replaces DownloadItem::REMOVING (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 5 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/download/download_util.cc
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc
index 17ba6b5038faeed11330273a420546e776652182..a62f19d2f5190b3345e1e3f09a2dc9fffaf9dc40 100644
--- a/chrome/browser/download/download_util.cc
+++ b/chrome/browser/download/download_util.cc
@@ -514,8 +514,6 @@ DictionaryValue* CreateDownloadItemValue(DownloadItem* download, int id) {
file_value->SetString("state", "DANGEROUS");
else
file_value->SetString("state", "COMPLETE");
- } else if (download->GetState() == DownloadItem::REMOVING) {
- file_value->SetString("state", "REMOVING");
Randy Smith (Not in Mondays) 2012/07/11 17:55:37 Same question as elsewhere: Have you checked the c
benjhayden 2012/07/13 20:03:17 codesearch says that the only caller of CreateDown
} else {
NOTREACHED() << "state undefined";
}

Powered by Google App Engine
This is Rietveld 408576698