diff options
Diffstat (limited to 'content/browser/download/download_item_impl.cc')
-rw-r--r-- | content/browser/download/download_item_impl.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/download/download_item_impl.cc b/content/browser/download/download_item_impl.cc index b49a256..e54ab9e 100644 --- a/content/browser/download/download_item_impl.cc +++ b/content/browser/download/download_item_impl.cc @@ -1398,6 +1398,8 @@ void DownloadItemImpl::Interrupt(DownloadInterruptReason reason) { TransitionTo(INTERRUPTED_INTERNAL, DONT_UPDATE_OBSERVERS); RecordDownloadInterrupted(reason, received_bytes_, total_bytes_); + if (!GetWebContents()) + RecordDownloadCount(INTERRUPTED_WITHOUT_WEBCONTENTS); AutoResumeIfValid(); UpdateObservers(); |