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
TBR=mmenke@chromium.org,dtrainor@chromium.org
BUG=675559
Review-Url: https://codereview.chromium.org/2757403002
Cr-Commit-Position: refs/heads/master@{#458666}
(cherry picked from commit 24c83fb4132db2d3ec271c7ae3ad22f6dcc9b5bc)
Patch Set 1 #
Messages
Total messages: 1 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||