
When a window is created via TabRestore as the first tab restore entry, the tabs in the window (and group) are not populated with saved information if the browser had crashed or powered down in an unclean state. This causes new groups to be created, even though they should be mapped to saved groups. This Cl adds methods that assign the correct saved information to the tabs so they dont duplicate groups. Fixed: 389107698 Change-Id: Ic6f387c533263def3102e35d013abf8c903feeee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6177194 Reviewed-by: Eshwar Stalin <estalin@chromium.org> Reviewed-by: Stefan Kuhne <skuhne@chromium.org> Commit-Queue: David Pennington <dpenning@chromium.org> Reviewed-by: Darryl James <dljames@chromium.org> Cr-Commit-Position: refs/heads/main@{#1407984}