| Index: chrome/browser/net/passive_log_collector.cc
|
| diff --git a/chrome/browser/net/passive_log_collector.cc b/chrome/browser/net/passive_log_collector.cc
|
| index 641e11a1773e5cc3ab382d5180e3ed0085254ed5..661d60c77fa54ea7a08367e050b6948b6738c6cf 100644
|
| --- a/chrome/browser/net/passive_log_collector.cc
|
| +++ b/chrome/browser/net/passive_log_collector.cc
|
| @@ -865,10 +865,12 @@ PassiveLogCollector::SourceTracker::Action
|
| PassiveLogCollector::DownloadTracker::DoAddEntry(
|
| const ChromeNetLog::Entry& entry,
|
| SourceInfo* out_info) {
|
| - if (entry.type == net::NetLog::TYPE_DOWNLOAD_FILE_WRITTEN)
|
| + if ((entry.type == net::NetLog::TYPE_DOWNLOAD_FILE_WRITTEN) ||
|
| + (entry.type == net::NetLog::TYPE_DOWNLOAD_ITEM_UPDATED)) {
|
| return ACTION_NONE; // Don't passively log these (too many).
|
| + }
|
| AddEntryToSourceInfo(entry, out_info);
|
| - if (entry.type == net::NetLog::TYPE_DOWNLOAD_FILE_OPENED &&
|
| + if (entry.type == net::NetLog::TYPE_DOWNLOAD_ITEM_ACTIVE &&
|
| entry.phase == net::NetLog::PHASE_END) {
|
| return ACTION_MOVE_TO_GRAVEYARD;
|
| }
|
|
|