
Because of the changes in this cl: https://chromium-review.googlesource.com/c/chromium/src/+/5449978, we are able to use the TabRestoreTypes directly in LiveTabContext. This reduces the parameters we need to pass to functions such as AddRestoredTab and ReplaceRestoredTab. We also no longer need to independently update the parameters if an addition is made to sessions::tab_restore::Tab. Change-Id: I46594b45a2dab5e1ac8eacea7b44ea7b5552a209 Bug: 335281443 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5458785 Reviewed-by: Gauthier Ambard <gambard@chromium.org> Commit-Queue: Darryl James <dljames@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/main@{#1289448}