Fix an issue that pdf is not auto-opened when typing from URL bar
When network service is enabled by default, page transition type is not propagated to download when intercepting a navigation. This CL fixes the issue by sending the transition type from NavigationRequest, and also fixes an issue that we only check for DownloadItem::HasUserGesture() when new download backend is enabled. BUG=1014451 Change-Id: Ie3d7614fbfc007a221c86125ac124087ac09a75d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879612Reviewed-by:Alex Moshchuk <alexmos@chromium.org> Reviewed-by:
Shakti Sahu <shaktisahu@chromium.org> Commit-Queue: Min Qin <qinmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#709176}
Showing
Please register or sign in to comment