
This CL addresses 4 different issues with enabling default save in V2, 1) Enabled default save of groups restored from session 2) Fixed to support asynchronous saving of groups at startup since the model initialization might have not completed 3) Fixed an issue where session data wasn't restored correctly for the saved GUID when there were multiple records in the append log 4) Tab Group session metadata was only updated when there was a change in visual data. This led to cases where the saved GUID wasn't updated. This was updated to listen for saved tab group model changes when groups were saved or unsaved Change-Id: I4d2255c11ad4022be701f0ee32115f5d8977ae6a Bug: 344016224 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5608434 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: David Pennington <dpenning@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Darryl James <dljames@chromium.org> Commit-Queue: Eshwar Stalin <estalin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1313032}