Index: content/browser/download/download_item_impl.cc |
diff --git a/content/browser/download/download_item_impl.cc b/content/browser/download/download_item_impl.cc |
index dd08306e35e0f91cb76e444afd46fb453847da30..fb1597133e7d05f3a13c96ed6335984c9b655e41 100644 |
--- a/content/browser/download/download_item_impl.cc |
+++ b/content/browser/download/download_item_impl.cc |
@@ -570,6 +570,8 @@ void DownloadItemImpl::TransitionTo(DownloadState new_state) { |
break; |
} |
+ VLOG(20) << " " << __FUNCTION__ << "()" << " this = " << DebugString(true); |
+ |
UpdateObservers(); |
bool is_done = (state_ != IN_PROGRESS); |
@@ -996,19 +998,21 @@ std::string DownloadItemImpl::DebugString(bool verbose) const { |
if (verbose) { |
description += base::StringPrintf( |
" db_handle = %" PRId64 |
- " total_bytes = %" PRId64 |
- " received_bytes = %" PRId64 |
- " is_paused = %c" |
- " is_otr = %c" |
- " safety_state = %s" |
+ " total = %" PRId64 |
+ " received = %" PRId64 |
+ " reason = %s" |
+ " paused = %c" |
+ " otr = %c" |
+ " safety = %s" |
" last_modified = '%s'" |
" etag = '%s'" |
" url_chain = \n\t\"%s\"\n\t" |
- " target_name = \"%" PRFilePath "\"" |
+ " target = \"%" PRFilePath "\"" |
" full_path = \"%" PRFilePath "\"", |
GetDbHandle(), |
GetTotalBytes(), |
GetReceivedBytes(), |
+ InterruptReasonDebugString(last_reason_).c_str(), |
IsPaused() ? 'T' : 'F', |
IsOtr() ? 'T' : 'F', |
DebugSafetyStateString(GetSafetyState()), |