Add download_to_file DCHECKs to a bunch of URLLoaderFactories.
These factories don't support download_to_file anyway, so make sure nobody is trying to call them with download_to_file set to true. Also fix the one place where download_to_file was set to true despite the code not actually expecting the callbacks that that should result in, if download_to_file would have been implemented. Bug: 791702 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: I2f31d2a45c59ba4b15e92cfe18718ed4eb69847b Reviewed-on: https://chromium-review.googlesource.com/957708Reviewed-by:Min Qin <qinmin@chromium.org> Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/master@{#542869}
Showing
Please register or sign in to comment