diff options
Diffstat (limited to 'chrome/browser/download/download_manager.cc')
-rw-r--r-- | chrome/browser/download/download_manager.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/download/download_manager.cc b/chrome/browser/download/download_manager.cc index 7200ba8..014f01c 100644 --- a/chrome/browser/download/download_manager.cc +++ b/chrome/browser/download/download_manager.cc @@ -41,7 +41,6 @@ #include "chrome/browser/ui/browser.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/notification_type.h" -#include "chrome/common/pref_names.h" #include "googleurl/src/gurl.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" @@ -992,9 +991,9 @@ void DownloadManager::OnCreateDownloadEntryComplete( // observers so that they get more than just the start notification. if (download->state() != DownloadItem::IN_PROGRESS) { in_progress_.erase(it); - // TODO(ahendrickson) -- We don't actually know whether or not we can
- // remove the download item from the |active_downloads_| map, as there
- // is no state in |DownloadItem::DownloadState| to indicate that the
+ // TODO(ahendrickson) -- We don't actually know whether or not we can + // remove the download item from the |active_downloads_| map, as there + // is no state in |DownloadItem::DownloadState| to indicate that the // downloads system is done with an item. Fix this when we have a // proper final state to check for. active_downloads_.erase(info.download_id); |