Initilaize SimpleDownloadManagerCoordinator for incognito correctly
This issue occurs when we open new incognito tab directly from the launcher. The issue is that both regular and incognito profile get created at the same time and we miss the NOTIFICATION_PROFILE_CREATED event for which we register later. This results in not creating the SimpleDownloadManagerCoordinator for incognito, thereby missing all the download updates. A solution is to check if we already have a incognito profile, and initialize the SimpleDownloadManagerCoordinator for that. Bug: 980570 Change-Id: I1196e2ca2e15978dd0ac15fffc51f8ab99c267c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717625Reviewed-by:Shakti Sahu <shaktisahu@chromium.org> Reviewed-by:
Xing Liu <xingliu@chromium.org> Commit-Queue: Shakti Sahu <shaktisahu@chromium.org> Cr-Commit-Position: refs/heads/master@{#681118}
Showing
Please register or sign in to comment