Fix lifetime of CheckClientDownloadRequest
CheckClientDownloadRequest was using 3 methods to prevent use-after-free (weak pointers, ref counting, and cancelable tasks). This CL replaces all of those with weak pointers, so that CheckClientDownloadRequest can be singly owned by the DownloadProtectionService. Bug: 889986 Change-Id: I098d207df9fccd7842c7fdc65dba94c75ec8b062 Reviewed-on: https://chromium-review.googlesource.com/c/1289956 Commit-Queue: Daniel Rubery <drubery@chromium.org> Reviewed-by:Nathan Parker <nparker@chromium.org> Cr-Commit-Position: refs/heads/master@{#604652}
Showing
This diff is collapsed.
Please register or sign in to comment