Commit 9089599f authored by Shakti Sahu's avatar Shakti Sahu Committed by Commit Bot

Fixing some metrics for download resumption

Change-Id: Ia165412bce19d960be3e15bb783ffe7f850f7118
Bug: 990053
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1729243
Commit-Queue: Shakti Sahu <shaktisahu@chromium.org>
Reviewed-by: default avatarMin Qin <qinmin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#683326}
parent cc015f7a
......@@ -586,7 +586,9 @@ void DownloadItemImpl::Resume(bool user_resume) {
if (auto_resume_count_ >= kMaxAutoResumeAttempts)
return;
ResumeInterruptedDownload(ResumptionRequestSource::USER);
ResumeInterruptedDownload(user_resume
? ResumptionRequestSource::USER
: ResumptionRequestSource::AUTOMATIC);
UpdateObservers();
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment