Handle CheckClientDownloadRequest different when download is destroyed to avoid crash
When a download is being destroyed while a CheckClientDownloadRequest is in-flight, we ignore the callback to CheckClientDownloadDone. This prevents crash that caused by DownloadManagerImpl being destructed before CheckClientDownloadDone during browser shutdown. A new UMA enum is added to track this special case. Bug: 830303 Change-Id: Iff5146a163e357ebd9b97b97cf48c6d7af9a7783 Reviewed-on: https://chromium-review.googlesource.com/1024864 Commit-Queue: Jialiu Lin <jialiul@chromium.org> Reviewed-by:Varun Khaneja <vakh@chromium.org> Cr-Commit-Position: refs/heads/master@{#554201}
Showing
Please register or sign in to comment