Chromium Code Reviews
DescriptionFix an issue that OMA download is not intercepted on Android
We use InterceptDownloadResourceThrottle to intercept OMA download.
However, MimeSniffingResourceHandler::MaybeStartInterception always start
the download with is_new_request == false.
This CL fixes the issue by moving InterceptDownloadResourceThrottle out the if(is_new_request) block.
And append the throttle after AppendStandardResourceThrottles so we won't skip safe browsing
This CL also fixes an issue that displayed filename is null on the snackbar
BUG=675559
Review-Url: https://codereview.chromium.org/2757403002
Cr-Commit-Position: refs/heads/master@{#458666}
Committed: https://chromium.googlesource.com/chromium/src/+/24c83fb4132db2d3ec271c7ae3ad22f6dcc9b5bc
Patch Set 1 #Patch Set 2 : add test #Patch Set 3 : fix clang warnings #
Messages
Total messages: 17 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||