DescriptionMove closing-blank-tab logic in Browser class to DownloadUIConttroller
With download notification, Browser::ShowDownload was never called when a download starts, hence a new blank tab was not closed. This patch refactors the code around and moves the code to DownloadUIConttroller class.
BUG=510821
TEST=browser_tests and unit_tests passes
Committed: https://crrev.com/09481b7c83c939fe6e639ed500f2b635d5fcbb91
Cr-Commit-Position: refs/heads/master@{#339210}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Addressed comments #
Total comments: 8
Patch Set 3 : Addressed comments #
Messages
Total messages: 16 (5 generated)
|