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

Unified Diff: chrome/browser/net/passive_log_collector.cc

Issue 9121053: Added net logging to DownloadItem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with parent. Created 8 years, 11 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/net/passive_log_collector.cc
diff --git a/chrome/browser/net/passive_log_collector.cc b/chrome/browser/net/passive_log_collector.cc
index 86af06dbf368f1e59a25879976e882b8dae1cbe9..15ec6c0318a3a00a840adc6210f479820116d0a6 100644
--- a/chrome/browser/net/passive_log_collector.cc
+++ b/chrome/browser/net/passive_log_collector.cc
@@ -869,7 +869,7 @@ PassiveLogCollector::DowloadTracker::DoAddEntry(
const ChromeNetLog::Entry& entry,
SourceInfo* out_info) {
AddEntryToSourceInfo(entry, out_info);
- if (entry.type == net::NetLog::TYPE_DOWNLOAD_FILE_OPENED &&
+ if (entry.type == net::NetLog::TYPE_DOWNLOAD_ITEM_ACTIVE &&
Randy Smith (Not in Mondays) 2012/02/03 18:23:37 Sorry, my lack of knowledge of netlog, but what is
mmenke 2012/02/03 18:27:54 Two purposes: To avoid keeping spammy events arou
entry.phase == net::NetLog::PHASE_END) {
return ACTION_MOVE_TO_GRAVEYARD;
}

Powered by Google App Engine
This is Rietveld 408576698